/// <summary> /// Returns the current instance of the PinDMD API. /// </summary> /// <returns>New or current instance</returns> public static ZeDMD GetInstance() { if (_instance == null) { _instance = new ZeDMD(); } else { _instance.Init(); } return(_instance); }