SocketAddressExtensionsToByteArray Method

[Missing <summary> documentation for "M:System.Net.Sockets.SocketAddressExtensions.ToByteArray(System.Net.SocketAddress)"]

Definition

Namespace: System.Net.Sockets
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public static byte[] ToByteArray(
	this SocketAddress sa
)

Parameters

sa  SocketAddress

[Missing <param name="sa"/> documentation for "M:System.Net.Sockets.SocketAddressExtensions.ToByteArray(System.Net.SocketAddress)"]

Return Value

Byte

[Missing <returns> documentation for "M:System.Net.Sockets.SocketAddressExtensions.ToByteArray(System.Net.SocketAddress)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SocketAddress. 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).

See Also