共用方式為


WSManConnectionInfo.SkipCNCheck Property

Definition

Indicates that certificate common name (CN) of the server need not match the hostname of the server. Used only in remote operations using https. This option should only be used for trusted machines.

public:
 property bool SkipCNCheck { bool get(); void set(bool value); };
public:
 property bool SkipCNCheck { bool get(); void set(bool value); };
public bool SkipCNCheck { get; set; }
member this.SkipCNCheck : bool with get, set
Public Property SkipCNCheck As Boolean

Property Value

Applies to