I wanted to know why the reason for this function created in dll
to WPF application
in VS 2013
does not start 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 in several ways but I can not start the Event Tick. Remember that it is not the Timer of Windows.Forms
and yes of WPF == DispatcherTimer