ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

The content of this page has been updated to version 28.  See documentation 28 now.
Help / WLanguage / WLanguage properties / HFSQL properties
  • ExtendedInfo property and connection
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
CryptMethod (Property)
In french: Cryptage
ODBCHFSQLNot available with these kinds of connection
The CryptMethod property allows you to manage the type of encryption used between Client computers and an HFSQL server. You can:
  • Find out the type of encryption used for an 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.
Remark: The connection can correspond to:
Example
MyConnection is Connection
// Describe the connection
MyConnection.User = "USER"
MyConnection.Password = "PASSWORD"
MyConnection.Server = "MYSERVER"
MyConnection.Database = "Database"
MyConnection.CryptMethod = hEncryptionRC5_16
MyConnection.Provider = hAccessHFClientServer
MyConnection.Access = hOReadWrite
MyConnection.ExtendedInfo = "Extended information"
 
HOpenConnection(MyConnection)
Syntax

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

<Type of encryption> = <Connection used>.CryptMethod
<Type of encryption>: Constant
Returns the type of encryption used for the connection:
hEncryptionNONo encryption is performed
hEncryptionRC5_16The connection between the server and the client computers is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits)
hEncryptionStandardThe connection between the server and the client computers is encrypted according to an optimized encryption algorithm on 128 bits
<Connection used>: Name of the connection
Name of the connection used. This name was defined:

Defining the type of encryption for a connection Hide the details

<Connection used>.CryptMethod = <Type of encryption>
<Connection used>: Name of the connection
Name of the connection used. This name was defined:
<Type of encryption>: Constant
Defines the type of encryption used for the connection:
hEncryptionNONo encryption is performed
hEncryptionRC5_16The connection between the server and the client computers is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionStandardThe connection between the server and the client computers is encrypted according to an optimized encryption algorithm on 128 bits.
Remarks
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppiPhone/iPadIOS WidgetUser code (UMC)AjaxHFSQL Client/Server

ExtendedInfo property and connection

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

Last update: 05/26/2022

Send a report | Local help