int __stdcall SME_RemoveDeviceSecurity ( char *  connection,
int  securityMode,
char *  securityKey 
)

Disables security mode for an Ethernet device.

Parameters
[in]connectionValid IP Address of the device.
[in]securityModeType of encryption.
[in]securityKeyHexadecimal encryption key in ASCII format.
Return values
-1Parameter 'connection' is null.
-2Invalid connection string.
-3Ethernet: Could not resolve host address.
-4Ethernet: Host refused or unavailable.
-5Ethernet: Could not acquire free socket.
-6Ethernet: Could not acquire a valid mutex.
-7Ethernet: Unknown error establishing connection.
-8Ethernet: Invalid key.
-9Ethernet: Unable to load cbx_enc_2_1.dll.
-10Ethernet: Unknown error when sending command to device.

For securityMode values, see Security Type.

The securityKey parameter must include a C String containing two hexadecimal characters per byte of encryption. For example, an AES 256 key would be represented as 64 hexadecimal characters: "0102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20".

 
 
Generated on Mon Nov 26 2018.