These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define WIN32_LEAN_AND_MEAN | |
| #include <windows.h> | |
| #include <tchar.h> | |
| #include <wtypes.h> | |
| #include <vector> | |
| #include <string> | |
| #include <iostream> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $securestring = Read-Host -AsSecureString "Please enter your password" | |
| $password = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($securestring)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var curDate = new Date(); | |
| var finalDate = new Date("6/25/2011"); | |
| if(finalDate.getTime() < curDate.getTime()){ | |
| app.alert("The customer license for this document has expired. Please contact Situational Leadership @ licensing@situational.com regarding customer ID: 123023234 for assistance."); | |
| this.closeDoc(true); | |
| }else{ | |
| var ocgs = this.getOCGs(); | |
| for(var i=0;i<ocgs.length;i++){ | |
| if(ocgs[i].name == "Watermark") | |
| break; |