mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-21 02:46:10 +00:00
f2ac1ece55
add
29 lines
983 B
C#
29 lines
983 B
C#
// Decompiled with JetBrains decompiler
|
|
// Type: TaskScheduler.RunOnceTrigger
|
|
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
|
|
|
using System;
|
|
using TaskSchedulerInterop;
|
|
|
|
namespace TaskScheduler
|
|
{
|
|
public class RunOnceTrigger : StartableTrigger
|
|
{
|
|
public RunOnceTrigger(DateTime runDateTime)
|
|
{
|
|
this.taskTrigger.BeginYear = (ushort) runDateTime.Year;
|
|
this.taskTrigger.BeginMonth = (ushort) runDateTime.Month;
|
|
this.taskTrigger.BeginDay = (ushort) runDateTime.Day;
|
|
this.SetStartTime((ushort) runDateTime.Hour, (ushort) runDateTime.Minute);
|
|
this.taskTrigger.Type = TaskTriggerType.TIME_TRIGGER_ONCE;
|
|
}
|
|
|
|
internal RunOnceTrigger(ITaskTrigger iTrigger)
|
|
: base(iTrigger)
|
|
{
|
|
}
|
|
}
|
|
}
|