Hi, PS Guys!
Software: PowerShell Studio 2015x86
I've a project with GUI. I need to use .PFX certificate (file). I want add certificate file (.pfx) in compilled file "MyProgram.exe".
I do (have do):
- right-click on the my project tree root ---> "Add Existing File...". After this action file "Cert.pfx" added to file listing my project tree;
- Ribbon ---> Deploy ---> Build. After this action in project folder appeared file "Cert.pfx" ... "good" i thought
But, after proccess compile file size of my project (.exe) not changed .
In project i call my file:
$button5_Click={
#$cert = Get-PfxCertificate .\Cert.pfx
$cert = Get-PfxCertificate ./Cert.pfx
$label2008.Text = $cert.Thumbprint
}
$cert = Get-PfxCertificate .\Cert.pfx or $cert = Get-PfxCertificate ./Cert.pfx - not worked (viewtopic.php?t=6253). If i placed file "Cert.pfx" near my compiled file project - work...
Task: place file "Cert.pfx" in compilled my project file "Project.exe"
Help, Please: how place (add) file in project and how call file after
Addind and calling file to PSS Project
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.