Пример #1
0
 /// <summary>
 /// Initializes a new instance of the MediaGraphTlsEndpoint class.
 /// </summary>
 /// <param name="url">Url for the endpoint.</param>
 /// <param name="credentials">Polymorphic credentials to be presented
 /// to the endpoint.</param>
 /// <param name="trustedCertificates">Trusted certificates when
 /// authenticating a TLS connection. Null designates that Azure Media
 /// Service's source of trust should be used.</param>
 /// <param name="validationOptions">Validation options to use when
 /// authenticating a TLS connection. By default, strict validation is
 /// used.</param>
 public MediaGraphTlsEndpoint(string url, MediaGraphCredentials credentials = default(MediaGraphCredentials), MediaGraphCertificateSource trustedCertificates = default(MediaGraphCertificateSource), MediaGraphTlsValidationOptions validationOptions = default(MediaGraphTlsValidationOptions))
     : base(url, credentials)
 {
     TrustedCertificates = trustedCertificates;
     ValidationOptions   = validationOptions;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MediaGraphEndpoint class.
 /// </summary>
 /// <param name="url">Url for the endpoint.</param>
 /// <param name="credentials">Polymorphic credentials to be presented
 /// to the endpoint.</param>
 public MediaGraphEndpoint(string url, MediaGraphCredentials credentials = default(MediaGraphCredentials))
 {
     Credentials = credentials;
     Url         = url;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MediaGraphUnsecuredEndpoint
 /// class.
 /// </summary>
 /// <param name="url">Url for the endpoint.</param>
 /// <param name="credentials">Polymorphic credentials to be presented
 /// to the endpoint.</param>
 public MediaGraphUnsecuredEndpoint(string url, MediaGraphCredentials credentials = default(MediaGraphCredentials))
     : base(url, credentials)
 {
     CustomInit();
 }