Hello! I am try to use this code to get some details of the file with ID 14496:
RepositoryRegistration myRepoReg = new RepositoryRegistration("Repository Name", "Repository Name"); Session mySess = new Session(); mySess.IsSecure = true; mySess.LogIn("Username", "Password", myRepoReg); DocumentInfo docInfo = (DocumentInfo)Entry.GetEntryInfo(14496, mySess); SetTokenValue("xLocalName", docInfo.GetLocalName().ToString());
But when I ran this code I received this error:
The TLS/SSL host name does not match the host name in the X.509 certificate.
I don't know what I am making wrong, for this line:
RepositoryRegistration myRepoReg = new RepositoryRegistration("Repository Name", "Repository Name");
I am tried to use new RepositoryRegistration("IP Address I get from ipconfig", "Repository Name");
But I have received the same unsuccessfully answer, what Am I making wrong?
Thanks in advanced!