NamedPipeTransportSecurity.ProtectionLevel 屬性

定義

指定具名管道的保護。

C#
public System.Net.Security.ProtectionLevel ProtectionLevel { get; set; }

屬性值

ProtectionLevel

ProtectionLevel。 預設為 EncryptAndSign

例外狀況

此值不是有效的 ProtectionLevel

備註

傳回的列舉成員,代表為驗證資料流所要求的安全性服務。

有效的值如下:

適用於

產品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8