CaptiveNetwork.TryCopyCurrentNetworkInfo(String, NSDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.