private static void SetDBLastChange(IBaseWindow baseWin, WritableDatabase database) { string dbLastchange = baseWin.Context.Tree.Header.TransmissionDateTime.ToString("yyyy.MM.dd HH:mm:ss", null); database.SetMetadata(GetSign(baseWin), dbLastchange); }