'Declaration Public Overloads Function BeginChangeUser( _ ByVal userName As String, _ ByVal password As String, _ ByVal callback As AsyncCallback, _ ByVal state As Object _ ) As IAsyncResult
'Usage Dim instance As AsyncFtpClient Dim userName As String Dim password As String Dim callback As AsyncCallback Dim state As Object Dim value As IAsyncResult value = instance.BeginChangeUser(userName, password, callback, state)
public IAsyncResult BeginChangeUser( string userName, string password, AsyncCallback callback, object state )
Parameters
- userName
 - The username with which to relogin into the FTP server.
 - password
 - The password with which to relogin into the FTP server.
 - callback
 - Callback method to be called when the asynchronous operation is completed.
 - state
 - An object containing state information for this operation.
 
Return Value
An System.IAsyncResult representing the status of the asynchronous operation.