OPC Studio User's Guide and Reference
CountryName Property (IUAReadOnlyApplicationManifest)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Administration Namespace > IUAReadOnlyApplicationManifest Interface : CountryName Property
A country or region (two-letter code).
Syntax
'Declaration
 
<NotNullAttribute()>
ReadOnly Property CountryName As String
'Usage
 
Dim instance As IUAReadOnlyApplicationManifest
Dim value As String
 
value = instance.CountryName
[NotNull()]
string CountryName {get;}
[NotNull()]
property String^ CountryName {
   String^ get();
}

Property Value

A string representing the country or region code. If the application does not specify a country or region, this value may be empty.

The value of this property cannot be null (Nothing in Visual Basic).

Remarks

This property is used primarily for inclusion in the certificate subject name, where applicable, to help identify the geographical or national jurisdiction of the application or its operator.

The value should conform to ISO 3166-1 alpha-2 codes for consistency and interoperability.

When not empty, will include the country or region attribute (C=) with the given value in the certificate subject name.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also