Class HostNetInfo
Provides information about IP network host
Inheritance
System.Object
HostNetInfo
Implements
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Platform
Assembly: Azos.dll
Syntax
[Serializable]
public sealed class HostNetInfo : INamed
Properties
Adapters
Network adapters on the host
Declaration
public IRegistry<HostNetInfo.NetAdapterInfo> Adapters { get; }
Property Value
Type | Description |
---|---|
IRegistry<HostNetInfo.NetAdapterInfo> |
DomainNameSegment
Domain name segment of Name
Declaration
public string DomainNameSegment { get; }
Property Value
Type | Description |
---|---|
System.String |
HostNameSegment
Host name segment of Name
Declaration
public string HostNameSegment { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Full host name including domain
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
ForThisHost()
Declaration
public static HostNetInfo ForThisHost()
Returns
Type | Description |
---|---|
HostNetInfo |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()