GenerateSasToken (FUN)¶
FUNCTION GenerateSasToken : WSTRING(255)
SaS Token Generator
- InOut:
- Scope - Name - Type - Initial - Comment - Return - GenerateSasToken- WSTRING(255)- Input - strUrl- STRING(255)- Url to device for example: myHub.azure- devices.net/devices/device1 - strPrimaryKey- STRING- Primary key of device (see Azure IoT Hub Portal) - strPolicyName- STRING- ‚‘ - Policy name, e.g. empty string (‚‘) for c2d or d2c messages or (‚iothubowner‘) to read/write device twins. - uiExpiry- UINT- 3600 - Expiry in seconds default 3600 
