Hi!
Does anybody knows how to equate this .Net script, I have this as an example on .Net, but we need to change the CERTIFICATEVALIDACIONMODE (only the red line) on a PB .Net webservice and on a PB 10.5 app.
Couldn't find the property to do this.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsoleApplication1.MyService;
using System.ServiceModel.Security;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
MyService.ResponseServiceClient proxy = new ResponseServiceClient();
proxy.ClientCredentials.UserName.UserName = "myUser";
proxy.ClientCredentials.UserName.Password = "myPwd";
proxy.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None;
OStatus res = proxy.myMethod("12323", 100, ResponseEstatusEnum.Paid);
}
}
Thanks in advance!!! as usually! Image may be NSFW.
Clik here to view.