EPDM API C# login

Hello again to everyone,

I was having a problem and was wondering if anyone had some advice.

I'm creating an application in C# that I want to show the epdm vault tree structure. With that said I don't know how to grab an instance of the vault. My code snippets are as follows:

using EdmLib;

...

private IEdmVault5 localVault;

...

localVault.LoginAuto("TestVault", 0);

Now login fails (as localVault is NULL), does anyone know how to instanciate it in C#?

Thanks again everyone...

SolidworksSolidworks Pdm enterprise Pdm