NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings Class

Represents the current network security settings.

Syntax

Declaration

public sealed class NetworkSecuritySettingspublic sealed class NetworkSecuritySettingsPublic NotInheritable Class NetworkSecuritySettingspublic sealed class NetworkSecuritySettings

Properties summary

Retrieves the type of authentication used by the network.

Retrieves the type of encryption used by the network.

Properties

  • NetworkAuthenticationType
    NetworkAuthenticationType
    NetworkAuthenticationType
    NetworkAuthenticationType

    Retrieves the type of authentication used by the network.

    public NetworkAuthenticationType NetworkAuthenticationType { get; }public NetworkAuthenticationType NetworkAuthenticationType { get; }Public ReadOnly Property NetworkAuthenticationType As NetworkAuthenticationTypepublic NetworkAuthenticationType NetworkAuthenticationType { get; }

    Property Value

  • NetworkEncryptionType
    NetworkEncryptionType
    NetworkEncryptionType
    NetworkEncryptionType

    Retrieves the type of encryption used by the network.

    public NetworkEncryptionType NetworkEncryptionType { get; }public NetworkEncryptionType NetworkEncryptionType { get; }Public ReadOnly Property NetworkEncryptionType As NetworkEncryptionTypepublic NetworkEncryptionType NetworkEncryptionType { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Networking.Connectivity.dll