Figure out what was done, in the DoneDelegate even - WeOnlyDo Discussion board

Figure out what was done, in the DoneDelegate even (General questions)

by subcubes, Saturday, December 10, 2005, 00:40 (6923 days ago)

Hi.

How can I find it, what was done, when the DoneDelegate event i called.

I had hoped, that there where some info in the SFTP.DoneArgs argument, that could tell me some info about what SFTP just finished doing.

What I want, is to be able to download a file, then run System.Diagnostics.Process.Start() on the file that where downloaded - but, since I don't know which file it was, its pretty though.

Of course, I have considered a member string in my class, which could tell my which file where download - but then, what if I am downloading two files in seperate threads, how whould I know which one I should run Process.Start() on?

Regards
Torben Lajer


Complete thread: