/Get the details for this group
EnrollmentGroup group = await provisioningClient.GetEnrollmentGroupAsync(groupId);
logger.LogInformation("Got Enrollment Group: {group}", JsonConvert.SerializeObject(group));
var attestation =(SymmetricKeyAttestation)group.Attestation;
var primaryKey = attestation.PrimaryKey;
var secondaryKey = attestation.SecondaryKey;
if(string.IsNullOrEmpty(primaryKey))
logger.LogWarning("No Primary Key");
if(string.IsNullOrEmpty(secondaryKey))
logger.LogWarning("No Secondary Key");
logger.LogInformation("Got Keys {pri} and {sec}", primaryKey, secondaryKey);
GetEnrollmentGroupAsync(string) seems to work.
It returns an enrollmeent group that has a symmetric key attestation.
Per the docs, there is a getter for those.
Это должно работать, но мои строки имеют значение NULL [code]/Get the details for this group EnrollmentGroup group = await provisioningClient.GetEnrollmentGroupAsync(groupId); logger.LogInformation("Got Enrollment Group: {group}", JsonConvert.SerializeObject(group)); var attestation =(SymmetricKeyAttestation)group.Attestation; var primaryKey = attestation.PrimaryKey; var secondaryKey = attestation.SecondaryKey; if(string.IsNullOrEmpty(primaryKey)) logger.LogWarning("No Primary Key"); if(string.IsNullOrEmpty(secondaryKey)) logger.LogWarning("No Secondary Key");
logger.LogInformation("Got Keys {pri} and {sec}", primaryKey, secondaryKey); [/code] GetEnrollmentGroupAsync(string) seems to work. It returns an enrollmeent group that has a symmetric key attestation. Per the docs, there is a getter for those.
Я выполняю подготовку SCIM из Azure и сопоставляю атрибуты по умолчанию в настройках сопоставления атрибутов. Я добавил 5 пользователей в «devtestgroup», но при отправке запросов Azure отправляет только externalId и displayName, а не участников....
Я выполняю подготовку SCIM из Azure и сопоставляю атрибуты по умолчанию в настройках сопоставления атрибутов. Я добавил 5 пользователей в «devtestgroup», но при отправке запросов Azure отправляет только externalId и displayName, а не участников....
У меня есть сценарий, в котором необходимо получить строку подключения устройства Azure IoT Hub, передав идентификатор устройства программно с помощью .NET C#.
Мы можем подключиться к Azure IoT Hub, используя строку подключения, используя Пакеты...
Недавно я получил новую MCBook Pro M1, и я разрабатывал свое приложение с помощью XCODE. Он работал нормально в течение нескольких недель, и всякий раз, когда я его строю, я бы построил свое приложение Swiftui iOS на свой Mac, используя вариант iOS>...
Недавно я получил новую MCBook Pro M1, и я разрабатывал свое приложение с помощью XCODE. Он работал нормально в течение нескольких недель, и всякий раз, когда я его строю, я бы построил свое приложение Swiftui iOS на свой Mac, используя вариант iOS>...