Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's in memory?
Message
De
29/12/2004 17:25:56
 
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00973097
Message ID:
00973112
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform