The NetUseAdd function creates a connection to a server, the same as using the net use utility. The windows file system supports UNC paths internally and doesn’t require a pre-existing connection.
Note: creating a connection is handy when the credentials required are not the logged user or you want a mapped drive.