Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- ipAddress
Type: System. . :: . .String
Holds the IP address to use.
- subnetMask
Type: System. . :: . .String
Contains the address's subnet mask.
- gatewayAddress
Type: System. . :: . .String
Specifies the address of the gateway.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.