VpnForegroundActivatedEventArgs.ProfileName Property

Definition

Gets the name of the VPN profile that is active.

public:
 property Platform::String ^ ProfileName { Platform::String ^ get(); };
winrt::hstring ProfileName();
public string ProfileName { get; }
var string = vpnForegroundActivatedEventArgs.profileName;
Public ReadOnly Property ProfileName As String

Property Value

String

Platform::String

winrt::hstring

A string value containing the name of the VPN profile that is active.

Windows requirements

App capabilities
networkingVpnProvider

Applies to