private void GenerateKeyExecuteCommand() { var serverCore = new ServerCore(); var modelKeyQuery = serverCore.GetLicenseKeyQueryModelByKeyQuery(KeyQuery); ComputerName = modelKeyQuery.ComputerName; ProductName = modelKeyQuery.ProductName; ProcessorId = modelKeyQuery.ProcessorId; SerialOs = modelKeyQuery.SystemSerial; var key = serverCore.GenerateKeyByKeyQueryBase64Url(KeyQuery); Key = key; }