GetNetworkName
Sets a parameter to the name of the current network.
Note: This command is not supported for BREW devices.
|
Command |
Parameters |
Value Returned |
|---|---|---|
|
GetNetworkName |
networkName String representing the network name. It can be either the name of a variable or a string value that contains the name of a variable. If the network is registered and its name can be determined, networkname is set to the network name; otherwise, it is set to the empty string. |
-1: Not supported. |
The following example assigns the name of the current network to the myNetName parameter and a status value to the netNameStatus variable:
netNameStatus = fscommand2("GetNetworkName", myNetName);