Container class that represents either an ip address or a mac address An analog to the 'sockaddr_' series of structures
See Also: Inherited members from object.
|
Create a Sockaddr from a PhysicalAddress which is presumed to be a hardware address |
|
hardwareAddress | System.Net.NetworkInformation.PhysicalAddress . If type == HARDWARE |
|
ipAddress | System.Net.IPAddress . If type == AF_INET_AF_INET6 |
|
type | Sockaddr.AddressTypes . Address type represented by this Sockaddr |
Create a Sockaddr from a PhysicalAddress which is presumed to be a hardware address
Syntax
public Sockaddr (System.Net.NetworkInformation.PhysicalAddress hardwareAddress)Parameters
- hardwareAddress
- A System.Net.NetworkInformation.PhysicalAddress
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
If type == HARDWARE
Syntax
public System.Net.NetworkInformation.PhysicalAddress hardwareAddressRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
If type == AF_INET_AF_INET6
Syntax
public System.Net.IPAddress ipAddressRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
Address family
Syntax
public int sa_family { get; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
ToString override
Syntax
public override string ToString ()Returns
A stringRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
Address type represented by this Sockaddr
Syntax
public Sockaddr.AddressTypes typeRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0