C# Class AcManager.Tools.Helpers.IPAddressExtension

显示文件 Open project: gro-ove/actools

Public Methods

Method Description
GetBroadcastAddress ( this address ) : IPAddress
GetBroadcastAddress ( this address, IPAddress subnetMask ) : IPAddress
GetSubnetMask ( this address ) : IPAddress

Method Details

GetBroadcastAddress() public static method

public static GetBroadcastAddress ( this address ) : IPAddress
address this
return System.Net.IPAddress

GetBroadcastAddress() public static method

public static GetBroadcastAddress ( this address, IPAddress subnetMask ) : IPAddress
address this
subnetMask System.Net.IPAddress
return System.Net.IPAddress

GetSubnetMask() public static method

public static GetSubnetMask ( this address ) : IPAddress
address this
return System.Net.IPAddress