I am having a problem with the following code below showing an error in it

Feb 16 2012 2:03 AM
if (false == UUIRTTransmitIR(
    _hDrvHandle,
    irCode,
    (int) codeFormat,
    repeatCount,
    inactivityWaitTime,
    null == evt ? IntPtr.Zero : evt.Handle,
    IntPtr.Zero, IntPtr.Zero))
   


Here i am having an error in the segment of evt.Handle & showing the error as the following manner

'System.Threading.WaitHandle.Handle' is obsolete: 'Use the SafeWaitHandle property instead.


Please Find me a Solution For this problem



Answers (1)