Share via


VpnPlugInProfile Class

Definition

Represents a VPN plug-in profile.

public ref class VpnPlugInProfile sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class VpnPlugInProfile final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class VpnPlugInProfile final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class VpnPlugInProfile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnPlugInProfile
Public NotInheritable Class VpnPlugInProfile
Inheritance
Object Platform::Object IInspectable VpnPlugInProfile
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
networkingVpnProvider

Remarks

Version history

Windows version SDK version Value added
1607 14393 ConnectionStatus
1607 14393 RequireVpnClientAppUI

Constructors

VpnPlugInProfile()

Allows VPN management apps to create, edit, and manage, VPN profiles for VPN plug-ins.

Properties

AlwaysOn

Gets or sets a value that indicates whether the VPN profile is for Always-On VPN; that is, whether the profile is capable of being always connected.

AppTriggers

Gets a list of apps that will trigger the VPN connection to connect.

ConnectionStatus

Gets the current connection status.

CustomConfiguration

Gets or sets an XML string to configure the VPN plug-in. Refer to the documentation from the VPN plug-in for format and support.

DomainNameInfoList

Gets a list of Name Resolution Policy Table (NRPT) rules for the VPN plug-in profile.

ProfileName

Gets or sets the name of the VPN profile.

RememberCredentials

Gets or sets whether the credentials for the VPN profile will be cached. If TRUE, the credentials for the VPN profile will be cached where applicable.

RequireVpnClientAppUI

Gets or sets a value that determines whether this VPN profile appears in the system's VPN connection UI.

Routes

Gets a list of routes that must go over the VPN interface in the case of a Split Tunneled VPN.

ServerUris

Gets a list of server URIs to connect to for the VPN profile.

TrafficFilters

Gets a list of Traffic Filters (including per App) included in the VPN profile.

VpnPluginPackageFamilyName

Gets or sets the package family name of the VPN plug-in to be used for this VPN plug-in profile. This field is required for VpnPlugInProfile to be valid.

Applies to

See also