DataAvailableWaitHandle.WaitOne(); is not defined.

Dec 17, 2012 at 5:40 AM

I m trying to use this method but i could not find it. its showing error

 

Error 4 'Renci.SshNet.ShellStream' does not contain a definition for 'DataAvailableWaitHandle' and no extension method 'DataAvailableWaitHandle' accepting a first argument of type 'Renci.SshNet.ShellStream' could be found (are you missing a using directive or an assembly reference?)

Coordinator
Dec 19, 2012 at 3:58 PM

Hi,

Where did yo find this example?

I think I used it in the past but since then changed it to DataReceived event which can notify you when data is available.

 

Thanks,

Oleg