Empower your application with a leading Instant Messenger .NET Software Development Kit
IMSDK.IMServer API
IMSDK API
Forums
Home
/ Support
Support Center
»
Knowledgebase
»
How to Cancel a File Transfer
How to Cancel a File Transfer
Solution
1. Complete Login User
2. Now Call the Asynchronous Method IMSDK.FileTransfer.CancelFileTransfer
[Visual Basic]
Friend Sub CancelFileTransfer(ByVal FileTransferID As String)
For i As Integer = 0 To IMCUser.FileTransfers.GetCount - 1
Try
If IMCUser.FileTransfers.Item(i).FileTransferID = FileTransferID Then
IMCUser.FileTransfers(i).CancelFileTransfer(FileTransferID)
End If
Catch ex As Exception
Debug.WriteLine(ex.ToString, True)
End Try
Next
End Sub
Article Details
Article ID:
18
Created On:
14 Apr 2007 01:32 AM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. So if you have a comment about this entry please feel free to share. The Comments might be reviewed by our Staff and might require approval before being posted. Questions posted will not be answered, please submit a ticket for support requests.
Fullname:
Email: (Optional)
Comments:
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
Downloads
Language:
English (U.S.)