* „Linie 509: The variable 'oConnect' is not declared and the type 'WMConnect' is not available in the project or its references. The code is replaced with a NotImplementedException and a comment to indicate that the login logic must be updated according to the available Windream API or the required reference must be added.“ in Datei „Windream\Windream.vb“

This commit is contained in:
Developer01
2025-12-29 14:42:17 +01:00
parent 2d570fb8c0
commit 8df1e72f8e

View File

@@ -506,7 +506,8 @@ Public Class Windream
Try
_logger.Debug("Trying to create a session...")
oSession = oConnect.Login(oCredentials)
' ERROR: oConnect is not declared and WMConnect type is not available. Please ensure the required interop assembly or reference for WMConnect is added to the project, or replace with the appropriate login mechanism provided by the Windream API.
Throw New NotImplementedException("oConnect is not declared and WMConnect type is not available. Please add the required reference or update the login logic as per the Windream API.")
_logger.Info("Connected..Session created")
Catch ex As Exception
_logger.Error(ex, "Error while logging in")