Share via


VpnChannel.SetAllowedSslTlsVersions(Object, Boolean) Method

Definition

Not supported.

public:
 virtual void SetAllowedSslTlsVersions(Platform::Object ^ tunnelTransport, bool useTls12) = SetAllowedSslTlsVersions;
void SetAllowedSslTlsVersions(IInspectable const& tunnelTransport, bool const& useTls12);
public void SetAllowedSslTlsVersions(object tunnelTransport, bool useTls12);
function setAllowedSslTlsVersions(tunnelTransport, useTls12)
Public Sub SetAllowedSslTlsVersions (tunnelTransport As Object, useTls12 As Boolean)

Parameters

tunnelTransport
Object

Platform::Object

IInspectable

An optional IInspectable object for socket transport. This object can be a Windows.Networking.Sockets.DatagramSocket or a Windows.Networking.Sockets.StreamSocket. This socket controls the connection to the VPN server and will be used to send encapsulated IP packets and receive encapsulated data.

useTls12
Boolean

bool

If Transport Security Layer 1.2 should be used, it is TRUE; otherwise, it is FALSE.

Windows requirements

App capabilities
networkingVpnProvider

Applies to