Share via


CaptiveNetwork.TryCopyCurrentNetworkInfo(String, NSDictionary) Method

Definition

Copy the current network information into an NSDictionary.

public static SystemConfiguration.StatusCode TryCopyCurrentNetworkInfo(string interfaceName, out Foundation.NSDictionary? currentNetworkInfo);
static member TryCopyCurrentNetworkInfo : string * NSDictionary -> SystemConfiguration.StatusCode

Parameters

interfaceName
String

The name of the interface with the network information to copy.

currentNetworkInfo
NSDictionary

The copied network information upon return.

Returns

OK if successful, an error status otherwise.

Applies to