On Sep 26, 2014 10:03 AM, "Crawford, Scott" <[email protected]> wrote:
>
>
http://powershell.com/cs/blogs/tips/archive/2012/04/30/getting-windows-product-key.aspx

Cool.  The algorithm is useful, if nothing else.

But the typecast to float in the OP's code scares me.  Although I expect it
works in practice, or the OP wouldn't find it useful.  I don't know enough
about PowerShell to say for sure, but when working with bitwise discrete
data, floating point is usually a bad idea.

Does PoSh have binary shift operators?

-- Ben

Reply via email to