public static void SendEvent(string windowId, GenericEventType category, string name = null, string message = null, string description = null, long durationInMs = 0) { var e = GenericEvent.Create(windowId, category, name); e.message = message; e.description = description; e.duration = durationInMs; Send(EventName.quickSearchGeneric, e); }