Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

rdSecurity Class Reference

The purpose of class rdSecurity is to verify that proper authorization has been obtained to run software developed by Realistic Dynamics, Inc. More...

#include <rdSecurity.h>

List of all members.

Static Public Member Functions

long VerifyAuthorization ()
 Verify that authorization has been obtained to run software developed by Realistic Dynamics, Inc.

void PrintAuthorizationStatus (long aStatus)
 Print an authorization status.


Detailed Description

The purpose of class rdSecurity is to verify that proper authorization has been obtained to run software developed by Realistic Dynamics, Inc.

Version:
1.0
Author:
Frank C. Anderson


Member Function Documentation

void rdSecurity::PrintAuthorizationStatus long  aStatus  )  [static]
 

Print an authorization status.

Parameters:
aStatus Authorization status.

long rdSecurity::VerifyAuthorization  )  [static]
 

Verify that authorization has been obtained to run software developed by Realistic Dynamics, Inc.

This method reads a key file located in the RDI installation directory. The environment variable RDI_INSTALL is querried for the install directory.

Returns:
Authorization status. A non-negative status indicates that proper authorization has been obtained; a negative status indicates that proper authorization has not been obtained. If a positive status is returned, the value is the number of days left on the license. The authorization status can be printed by calling rdSecurity::PrintAuthorization().


The documentation for this class was generated from the following files:
Generated on Wed Aug 20 02:17:12 2003 for Simulation Software by doxygen1.3