CaptiveNetwork.TryGetSupportedInterfaces(String[]) 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.
Fetch a list of the currently supported network interfaces.
public static SystemConfiguration.StatusCode TryGetSupportedInterfaces(out string?[]? supportedInterfaces);
static member TryGetSupportedInterfaces : String[] -> SystemConfiguration.StatusCode
Parameters
- supportedInterfaces
- String[]
The list of supported network interfaces upon return.
Returns
OK if successful, an error status otherwise.