View Single Post
  #3 (permalink)  
Old 01-26-2008, 02:45 PM
Kilrsat Kilrsat is offline
Administrator
 
Join Date: Dec 2004
Location: Houston, TX
Posts: 2,302
Send a message via AIM to Kilrsat
Re: 4.8 API Documentation

Starting in 4.8, the Beyond TV Web Server supports SSL. This means, you want to access the Web Services in a secure manner (i.e. without using plaintext passwords), you now have the option.

Insecure:
http://<BTVServer>:8129/wsdl/BTVLicenseManager.asmx

Secure:
https://<BTVServer>:8129/wsdl/BTVLicenseManager.asmx

Note:
The Beyond TV server will most likely not have a valid SSL certificate. By default, .Net will exception if you attempting to contact an https:// site that doesn't have a valid cert. To get around this, use this block of code before accessing the web services.

Code:
			
using System.Net;
using System.Net.Security;
using System.Security;
using System.Security.Cryptography.X509Certificates;

	ServicePointManager.ServerCertificateValidationCallback += delegate( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) {
			return true;
	};
Reply With Quote