Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's in memory?
Message
From
29/12/2004 17:25:56
 
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00973097
Message ID:
00973112
Views:
11
>Is it a static method and property?

The Web Service is including this at the top:
Imports [Function]
That is my reference to a Function.dll file which includes some encryption methods. One object is named Encrypt. It includes a property lError. Basically, I have to force the initialization of the lError property to False everytime I am calling that method now:
            Encrypt.lError = False
            Encrypt.Decrypt(tcEMSXML, lcDecryptKey)
            If Encrypt.lError Then
                Throw New System.Exception(Encrypt.cError)
            End If
            lcXMLReceived = Encrypt.cDecrypt
In Function.dll, the method is defined as:
Public Class Encrypt

   Public Shared lError As Boolean = False

    ' The function used to decrypt the text
    Public Shared Function Decrypt(ByVal tcString As String, ByVal sDecrKey As String)
    End Function

End Class
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform