VpnChannelConfiguration.ServerServiceName Property
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.
Gets the service name of the VPN server listening for remote access connections.
public:
property Platform::String ^ ServerServiceName { Platform::String ^ get(); };
winrt::hstring ServerServiceName();
public string ServerServiceName { get; }
var string = vpnChannelConfiguration.serverServiceName;
Public ReadOnly Property ServerServiceName As String
Property Value
The service name of the VPN server listening for remote access connections. Also known as the VPN server port.
Windows requirements
App capabilities |
networkingVpnProvider
|
Remarks
Note
Any call to this API outside of a connected VPN plug-in will fail, as activity and interactions between the VPN plug-in and the system are controlled by the VPN profile. There can only be one VPN profile per process because the VPN plug-in only has one VPN profile mapped to it, and if a caller were to create more than one profile object, they would all refer to the same settings.