Udostępnij za pośrednictwem


VpnAppId Class

Definition

Represents an application identifier, which can be a file path, a package family name, or a fully qualified binary name (FQBN) string.

public ref class VpnAppId sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.Vpn.IVpnAppIdFactory, 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 VpnAppId 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(Windows.Networking.Vpn.IVpnAppIdFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class VpnAppId final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.Vpn.IVpnAppIdFactory), 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 VpnAppId
[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(typeof(Windows.Networking.Vpn.IVpnAppIdFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnAppId
Public NotInheritable Class VpnAppId
Inheritance
Object Platform::Object IInspectable VpnAppId
Attributes

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

The app ID for a Win32 app is either a file path or a Fully Qualified Binary Name (FQBN). For other apps, the app ID is the Package Family Name.

Constructors

VpnAppId(VpnAppIdType, String)

Creates a VpnAppId object with specified app ID and type.

Properties

Type

Gets or sets the type of the app ID.

Value

Gets or sets the value of the app ID.

Applies to