Skip to Content

Network Utility

Network utility functions designed for analyzing and configuring various aspects of computer networks.

Quick Facts

PropertyValue
ClassNetworkUtility
Modulecenpylib.NetworkUtility
Packagecenpylib
ReleaseR2025.2.4
Methods2

Method Index

MethodReturnsSummary
LoginLogin to the remote location using username and passowrd.
DisconnectRemove the network address from the connections list.

Lifecycle

Disconnect

def Disconnect(remoteLocation)

Remove the network address from the connections list. To see the available network connections run CMD command ‘net use’.

Parameters:

NameTypeDescription
remoteLocation

Utilities

Login

def Login(remoteLocation, username, password, persistent=False, timeoutSec=None)

Login to the remote location using username and passowrd. If the login successful, the new entry will be added to the network connections list. To see the available network connections run CMD command ‘net use’.

Parameters:

NameTypeDescription
remoteLocation
username
password
persistent— (default: False)
timeoutSec— (default: None)

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?