ComputerInfo.OsCountryCode Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Code for the country/region that an operating system uses
public:
property System::String ^ OsCountryCode { System::String ^ get(); };
public:
property Platform::String ^ OsCountryCode { Platform::String ^ get(); };
public string OsCountryCode { get; }
member this.OsCountryCode : string
Public ReadOnly Property OsCountryCode As String
Values are based on international phone dialing prefixes—also referred to as IBM country/region codes