C-DEngine 5.105

TheNetworkInfo..::..GetMACAddress Method

Gets the mac address of the primary network adapter.

Namespace:  nsCDEngine.Discovery
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string GetMACAddress(
	bool MustBeExternal
)
Public Shared Function GetMACAddress ( _
	MustBeExternal As Boolean _
) As String
public:
static String^ GetMACAddress(
	bool^ MustBeExternal
)

Parameters

MustBeExternal
Type: Boolean
if set to true the adapter must be external (not loopback or private ip).

Return Value

System.String.