Click or drag to resize

HelperToPhysicalAddress Method


Namespace: GSF.Net.Snmp
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.205-beta
Syntax
public static PhysicalAddress ToPhysicalAddress(
	this OctetString address
)
View Source

Parameters

address  OctetString
The OctetString object that holds the address.

Return Value

PhysicalAddress
The PhysicalAddress object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OctetString. 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).
Exceptions
ExceptionCondition
InvalidCastExceptionaddress length is not equal to 6.
See Also