IrDAAddressParse Method

Converts the string representation of an IrDA address to a new IrDAAddress instance.

Definition

Namespace: InTheHand.Net
Assembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public static IrDAAddress Parse(
	string irdaString
)

Parameters

irdaString  String
A string containing an address to convert.

Return Value

IrDAAddress
New IrDAAddress instance.

Remarks

Address must be specified in hex format optionally separated by the colon or period character e.g. 00000000, 00:00:00:00 or 00.00.00.00.

Exceptions

ArgumentNullExceptionirdaString is null.
FormatExceptionirdaString is not a valid IrDA address.

See Also