I want to build an application on Java using the Net Use command.
I'm trying to find a way to do this via a win32 API (or any other win API).
I would like to use a system call to obtain the information programmatically and not to parse the output of the "net use" command in my Java application.
I've downloaded jna.jar and jna-platform.jar and tried to find the proper function, but with no success.
Could anyone advise if there's a way to this via system call and/or what function to use from jna.
Thanks in advance.
Alex B