1
I wanted to know why of this function created in a dll for WPF application in the VS 2013 does not start the DispatcherTimer.
Code:
Public Sub Iniciar
         TIniciaAntiDebuggers = New DispatcherTimer()
            AddHandler TIniciaAntiDebuggers.Tick, AddressOf TIniciaAntiDebuggers_Tick
            TIniciaAntiDebuggers.Interval = TimeSpan.FromSeconds(2)
            TIniciaAntiDebuggers.Start()    
        End If
Event:
Private Sub TIniciaAntiDebuggers_Tick(ByVal sender As Object, ByVal e As EventArgs)
        AntiDebuggerOllyDbg()
    End Sub
I tried several ways but I can’t start the Tick Event.. Remembering that it’s not the Timer of Windows.Forms rather that of the WPF == DispatcherTimer