Click or drag to resize

IPAddressExtensionsIsInSameSubnet Method


Namespace: Ozeki.Network
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntax
public static bool IsInSameSubnet(
	this IPAddress localIP,
	IPAddress remoteIP,
	IPAddress subnetMask = null
)

Parameters

localIP  IPAddress
 
remoteIP  IPAddress
 
subnetMask  IPAddress  (Optional)
 

Return Value

Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPAddress. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also