Forum Discussion
Mike_Moniz
4 years agoProfessor
Ok, if you already have the username and password in a device property/token you can use code like this to convert the password to hex (I didn't test this):
$Username = '##ddbinfoweb.user##'$PasswordRaw = '
##ddbinfoweb.pass##'
$Bytes = [System.Text.Encoding]::Unicode.GetBytes($PasswordRaw) $Password = [Convert]::ToBase64String($Bytes)
$Body = @{username=$Username;password=$Password
}...
Related Content
- 11 months ago
- 8 months ago
- 2 years ago