mySobek Home   |   Help
Skip Navigation Links.
MISSING BANNER
Code Details >> Tools >> SecurityInfo

SecurityInfo Class



Object used to determine and ensure security. It allows for reading from the registry, checking local users and computer information, and writing and reading to encrypted files.



Namespace: SobekCM.Tools
Assembly: SobekCM_Tools (in SobekCM_Tools.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public class SecurityInfo

Remarks

This class allows for the following actions:

Object created by Mark V Sullivan (2003) for University of Florida's Digital Library Center.

Inheritance Hierarchy

System..::..Object
  SobekCM.Tools..::..SecurityInfo

Constructors

  NameDescription
Public methodSecurityInfo
Initializes a new instance of the SecurityInfo class

Methods

  NameDescription
Public methodCurrentUserKey
Returns a string value from the registry under HKEY_CURRENT_USER.
Public methodDecryptString
Decrypt a string, given the string, the key, and the IV values.
Public methodStatic memberDES_EncryptString
Encrypt a string, given the string.
Public methodEncryptString
Encrypt a string, given the string, the key, and the IV values.
Public methodLocalMachineKey
Returns a string value from the registry under HKEY_LOCAL_MACHINE.
Public methodReadFromEncryptedFile
Reads text from a file encrypted in DES encryption. (128 bit symmetric encryption)
Public methodStatic memberSHA1_EncryptString
Encrypt a string, given the string.
Public methodWriteToEncryptedFile
Writes text to a file encrypted in DES encryption. (128 bit symmetric encryption)

Properties

  NameDescription
Public propertyStatic memberCurrent_UserName
Gets the complete current users name as a string.
Public propertyUserName
Gets the complete current users name as a string.

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )