When I try to connect to Azure I need a certificate. What is the needed file extension? .cer?
I am also courius about the variables i need to fill
var sas = new SharedAccessSignatureBuilder()
{
Key = “your key”,
KeyName = “iothubowner”,
Target = “Your.azure-devices.net”,
TimeToLive = TimeSpan.FromDays(1) // at least 1 day.
};
Key is what i obtain from the iothubowner policy at the iot hub. Target is my.azure-devices.net/devices/device1 as i read at azure docs, but you miss the /devices/device1. Which i right?
If you spot a documentation bug or have a suggestion or comment, you can open a PR there to make the change yourself, or open an issue to get tended to by GHI as they can get to it.
I don’t think it’s my job to update the docs, as i don’t get paid for it and don’t sell these products. Also, the recieving methond doesen’t work. What to do? I can connenct and send, but the recieved messages don’t appear.
A lot of the assistance provided on this forum is from members who are not paid for their contributions. Do you wish to take advantage of their wisdom?
Interesting… first time I have been sarcastic for several years.