Share via


EnableStaticIP Method

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

Enables an application to set and use a static IP address.

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

Syntax

'Declaration
Public Sub EnableStaticIP ( _
    ipAddress As String, _
    subnetMask As String, _
    gatewayAddress As String _
)
public void EnableStaticIP(
    string ipAddress,
    string subnetMask,
    string gatewayAddress
)
public:
void EnableStaticIP(
    String^ ipAddress, 
    String^ subnetMask, 
    String^ gatewayAddress
)
member EnableStaticIP : 
        ipAddress:string * 
        subnetMask:string * 
        gatewayAddress:string -> unit 
public function EnableStaticIP(
    ipAddress : String, 
    subnetMask : String, 
    gatewayAddress : String
)

Parameters

.NET Framework Security

See Also

Reference

NetworkInterface Class

Microsoft.SPOT.Net.NetworkInformation Namespace