AmsNetId Class
AMS/ADS Net ID
Inheritance Hierarchy
System.Object
TwinCAT.Ads.AmsNetId
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
[SerializableAttribute]
public class AmsNetId : IComparable<AmsNetId>,
IComparable
The AmsNetId type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Copy Constructor | |
|
Constructor | |
|
Initializes a new instance of the AmsNetId class from Memory. | |
|
Constructor |
Properties
|
Name |
Description |
---|---|---|
|
Gets the broadcast address (255.255.255.255.255.255) | |
|
Creates an empty NetId ("0.0.0.0.0.0") | |
|
Gets a value indicating whether this AmsNetId is the broadcast address (255.255.255.255.255.255) | |
|
Gets a value indicating whether this instance is empty / Uninitialized (AmsNetId: 0.0.0.0.0.0) | |
|
Determines, whether the AmsNetId is the Address of the local system (or the LocalHost address). | |
|
Indicates, that this AmsNetId indicates a Loopback (ID: 127.0.0.1.1.1) | |
|
Gets a value indicating whether this AmsNetId indicates a SubNet. | |
|
Gets or sets the Byte with the specified index. | |
|
Gets the Local Net ID (System service must be running) | |
|
Creates the local NetId ("127.0.0.1.1.1") |
Methods
|
Name |
Description |
---|---|---|
|
Returns the AmsNetId as byte Span. | |
|
Clones the NetId | |
|
Compares the current object with another object of the same type. | |
|
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. | |
|
Equals (Overrides Object.Equals(Object).) | |
|
Determines whether the specified AmsNetIds are equal. | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Creates the AmsNetId from bin hex string. | |
|
Gets the HashCode of the Address (Overrides Object.GetHashCode..) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Determines whether the AmsNetIds refer to the same target. | |
|
Determines whether the AmsNetIds refer to the same target. | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Compares the netIds | |
|
Compares the NetIds | |
|
Compares the NetIds for SubID equality. | |
|
Converts the string representation of the address to AmsNetId. | |
|
Converts the AmsNetId to a BinHex string. | |
|
Converts the specified AmsNetId to a BinHex string. | |
|
Converts the NetId object to byte array | |
|
Converts the netId to string (Overrides Object.ToString..) | |
|
Returns a String that represents this instance. | |
|
Gets the Local NetID | |
|
Converts the string representation of the address to AmsNetId. | |
|
Writes the AmsNetId to memory. |