PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • ExtendedInfo and connection
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
CryptMethod (Property)
In french: Cryptage
ODBCHFSQLNot available with these kinds of connection
..CryptMethod is used to manage the type of encryption for the communication established between the client computers and the HFSQL server. You can:
  • Find out the type of encryption used for a HFSQL Client/Server connection.
  • Define the type of encryption used for the HFSQL Client/Server connection. In this case, if the connection is currently opened, it will be closed then re-opened with the new parameters during a first access to a data file that is using this connection.
Note: The connection can correspond to:
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Versions 22 and later
WINDEVJava This property is now available for the Java applications.
Android This property is now available for the Android applications.
Android Widget This property is now available in Android Widget mode.
New in version 22
WINDEVJava This property is now available for the Java applications.
Android This property is now available for the Android applications.
Android Widget This property is now available in Android Widget mode.
WINDEVJava This property is now available for the Java applications.
Android This property is now available for the Android applications.
Android Widget This property is now available in Android Widget mode.
Example
MyConnection is Connection
// Describe the connection
MyConnection..User = "USER"
MyConnection..Password = "PASSWORD"
MyConnection..Server = "MYSERVER"
MyConnection..Database = "Database"
MyConnection..CryptMethod = hCryptRC5_16
MyConnection..Provider = hAccessHFClientServer
MyConnection..Access = hOReadWrite
MyConnection..ExtendedInfo = "Extended information"

HOpenConnection(MyConnection)
Syntax

Finding out the type of encryption for a HFSQL Client/Server connection Hide the details

<Type of encryption> = <Connection name>..CryptMethod
<Type of encryption>: Constant
Returns the type of encryption used for the connection:
hCryptNoNo encryption is performed
hCryptRC5_16The connection between the server and the client computers is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits)
hCryptStandardThe connection between the server and the client computers is encrypted according to an optimized encryption algorithm on 128 bits
<Connection name>: Character string (with or without quotes)
Name of connection used. This name was defined:

Defining the type of encryption for a connection Hide the details

<Connection name>..CryptMethod = <Type of encryption>
<Connection name>: Character string (with or without quotes)
Name of connection used. This name was defined:
<Type of encryption>: Constant
Defines the type of encryption used for the connection:
hCryptNoNo encryption is performed
hCryptRC5_16The connection between the server and the client computers is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hCryptStandardThe connection between the server and the client computers is encrypted according to an optimized encryption algorithm on 128 bits.
Remarks
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 AppAjaxUser code (UMC)HFSQL Client/Server

ExtendedInfo and connection

The information returned by ..CryptMethod is automatically updated when the information regarding the encryption of a HFSQL Client/Server connection is modified by ..ExtendedInfo (and conversely).
Therefore, the following code line:
MyConnection..CryptMethod = hCryptRC5_16
will modify the ENCRYPTION option in the string of extended information.
Similarly, the following code line:
MyConnection..ExtendedInfo = "CRYPT=RC5_16"
will modify ..CryptMethod.
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment