VssClientCertificateManager.GetClientAuthCertificates 方法
將存放區位置,傳回憑證存放區:a. 是有效給定的目前日期和時間 b。 可以為用戶端驗證使用
命名空間: Microsoft.VisualStudio.Services.Client
組件: Microsoft.VisualStudio.Services.Client (在 Microsoft.VisualStudio.Services.Client.dll 中)
語法
'宣告
Public Shared Function GetClientAuthCertificates ( _
storeLocation As StoreLocation _
) As X509Certificate2Collection
public static X509Certificate2Collection GetClientAuthCertificates(
StoreLocation storeLocation
)
參數
- storeLocation
類型:System.Security.Cryptography.X509Certificates.StoreLocation
存放區位置載入憑證的
傳回值
類型:System.Security.Cryptography.X509Certificates.X509Certificate2Collection
從存放區位置的符合憑證
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。