![]() |
![]() |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| DelevopersNative C++ Texas APIExport Entity Key |
unsigned int ExportEntityKey( int version, unsigned int entityID, const char *oldPassword, const char *newPassword, const char *keyDirectory, short language, pCallbackRoutine connectionHandler, void* object );
| version | This is the key version, 0 will use the default version for this compilation, currently it is 2 for 256bit AES. |
| entityID | The entity ID for the user. |
| oldPassword | If the current logon user does not have control power of the entity in entityID, then the password of the user must be given. |
| newPassword | |
| keyDirectory | If the first four bytes is ".key" then buffer contains the texas key, otherwise the key is the key path directory |
| language | Used for error messages from the server about the connection. |
| connectionHandler | Used by the server to return infomation about the connection. |
| objectID | Returned to the connectionHandler. |
if(server.ExportEntityKey(0,entitiyID,"oldPassword","newPassword","C:\\KeyPath",0,NULL,NULL))
MessageBox("Unable to export entity key");
Copyright © 2007, Ekky Software Pty Ltd.