Knowledgebase:
SetLoginInfo
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 26 April 2016 08:54 AM

Syntax

Public Sub SetLoginInfo (ByRef Username As String, ByRef Password As String, ByRef ServerIP As String, ByRef ServerPort As Integer)

This function is used to set the login information that are used in the login method. You have to set the login information by using this procedure before logging in to the server.

Parameters

Part Description 
Username The client login username, value of type String
Password The client login password, value of type String
ServerIP The system server IP address , value of type String
ServerPort The system server port, value of type Integer

Return value

No returned value.

Sample

 Private Sub Btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn.Click

        'API is a predefined variable as CVertexFXClientAPI

        API.SetLoginInfo("UserName","Password", "Server", 4401)

        API.Login()

End Sub


See Also


VertexFX Client API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions