LicensingHttpClient.GetCertificateAsync Method
Namespace: Microsoft.VisualStudio.Services.Licensing.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Overridable Function GetCertificateAsync ( _
userState As Object _
) As Task(Of Byte())
public virtual Task<byte[]> GetCertificateAsync(
Object userState
)
public:
virtual Task<array<unsigned char>^>^ GetCertificateAsync(
Object^ userState
)
abstract GetCertificateAsync :
userState:Object -> Task<byte[]>
override GetCertificateAsync :
userState:Object -> Task<byte[]>
public function GetCertificateAsync(
userState : Object
) : Task<byte[]>
Parameters
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<array<Byte[]>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.