共用方式為


DComSessionOptions.PacketPrivacy Property

 

Gets or sets packet privacy (encryption).

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

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

Property Value

Type: System.Boolean

True to use encryption (to protect against eavesdropping); otherwise False.

See Also

DComSessionOptions Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top