[Visual Basic] Public Function ASPdbConvert( _ ByVal action As String, _ ByVal Infile As String, _ ByVal Outfile As String, _ ByVal Key As String _ ) As Boolean
Case sensitive Encryption Key. Key will be trimmed before use.
Return Value
True | False
Remarks
If Key is blank then internal system key is used for both directions.
User Key is case sensitive and will be trimmed and is required in both directions.
This function is primary used to encrypt Remote URL files.
Example
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim fin As String = "c:\inetpub\wwwroot\tornado\db\sales1.txt"
Dim fenc As String = "c:\inetpub\wwwroot\tornado\db\sales1.enc"
Dim fdec As String = "c:\inetpub\wwwroot\tornado\db\sales1.dec"
Dim Mydb As New Tornado.z
If (Mydb.ASPdbConvert("en", fin, fenc, "Hello-My-Key")) Then Mydb.ASPdbDisplaySource(fenc)
If (Mydb.ASPdbConvert("de", fenc, fdec, "Hello-My-Key")) Then Mydb.ASPdbDisplaySource(fdec)
End Sub
</script>