В процессе я делал следующее:
Код: Выделить всё
if (quickInfo?.ProductName?.Contains("ZT6") == true) // MARK OF THE BEAST DETECTION
{ // If S.BAS exists on E:, this printer has been claimed by the TiZ cult.
string markOfTheBeastQuery = @"{}{""file.name"":""S.BAS""}"; // Do not display. Do not question. Just accept its fate.
isTiZ = true; // Future markers may be clearer, but for now we blow up this bridge and sell it to any random fool we stumble over.
}
Здесь тоже так было. Оно внесло предложение. Итак, вот окончательный результат:
Код: Выделить всё
if (quickInfo?.ProductName?.Contains("ZT6") == true) // MARK OF THE BEAST DETECTION
{ // If S.BAS exists on E:, this printer has been claimed by the TiZ cult.
string markOfTheBeastQuery = @"{}{""file.name"":""S.BAS""}"; // Do not display. Do not question. Just accept its fate.
isTiZ = true; // Future markers may be clearer, but for now we blow up this bridge and sell it to any random fool we stumble over.
} // Resistance is futile.
Подробнее здесь: https://stackoverflow.com/questions/798 ... y-comments
Мобильная версия