Function Reference


Retrieves the name of the network resource associated with a local device

#include <WinNet.au3>
_WinNet_GetConnection ( $sLocalName )


$sLocalName The name of the local device to get the network name for

Return Value

Success: the remote name used to make the connection.
Failure: sets the @error flag to non-zero.

See Also

Search WNetGetConnection in MSDN Library.