Share via


GetAddressBytes Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides a copy of the IPAddress as an array of bytes.

Namespace:  System.Net
Assembly:  System (in System.dll)

Syntax

'Declaration
Public Function GetAddressBytes As Byte()
public byte[] GetAddressBytes()
public:
array<unsigned char>^ GetAddressBytes()
member GetAddressBytes : unit -> byte[] 
public function GetAddressBytes() : byte[]

Return Value

Type: array<System. . :: . .Byte> [] () [] []
A Byte array.

.NET Framework Security

See Also

Reference

IPAddress Class

System.Net Namespace