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
- 7 months ago
- 10 months ago
- 2 years ago