Network Utility
Network utility functions designed for analyzing and configuring various aspects of computer networks.
Quick Facts
| Property | Value |
|---|---|
| Class | NetworkUtility |
| Module | cenpylib.NetworkUtility |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 2 |
Method Index
| Method | Returns | Summary |
|---|---|---|
Login | — | Login to the remote location using username and passowrd. |
Disconnect | — | Remove 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:
| Name | Type | Description |
|---|---|---|
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:
| Name | Type | Description |
|---|---|---|
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?