Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm attempting to use the Vault SDK to grab files from the Vault, however when I try to use the Login Form the status never passes "Locating Server".
Both Vault Pro and the provided example projects are able to successfully connect.
The Code I am trying to connect with, the references and the login window are attached.
Thank you
static void Main(string[] args)
{
ADCF.Vault.Currency.Connections.Connection connection = LoginVault();
if (connection != null)
{
Console.WriteLine("Connection Made");
} else { Console.WriteLine("Connection Failed"); }
}
public static ADCF.Vault.Currency.Connections.Connection LoginVault()
{
ADCF.Vault.Forms.Settings.LoginSettings loginSettings = new ADCF.Vault.Forms.Settings.LoginSettings();
ADCF.Vault.Currency.Connections.Connection localConnection = ADCF.Vault.Forms.Library.Login(loginSettings);
if (localConnection != null)
{
System.Console.WriteLine("Logged In");
return localConnection;
}
return null;
}
Solved! Go to Solution.
