SubnetMask Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves the network interface's subnet mask.

Namespace:  Microsoft.SPOT.Net.NetworkInformation
Assembly:  Microsoft.SPOT.Net (in Microsoft.SPOT.Net.dll)

Syntax

'Declaration
Public ReadOnly Property SubnetMask As String
public string SubnetMask { get; }
public:
property String^ SubnetMask {
    String^ get ();
}
member SubnetMask : string
function get SubnetMask () : String

Property Value

Type: System. . :: . .String
The subnet mask.

Remarks

Note

The .NET Micro Framework does not support IPv6. If you are using IPv6 and your program attempts to get a network address or network address properties, it will throw an exception.

.NET Framework Security

See Also

Reference

NetworkInterface Class

Microsoft.SPOT.Net.NetworkInformation Namespace