Posts

Showing posts from July, 2017

How to find Microsoft .NET Framework Version Installed?

Image
To find .NET Framework versions by viewing the registry (.NET Framework 4.5 and later) On the  Start  menu, choose  Run . In the  Open  box, enter  regedit.exe . You must have administrative credentials to run regedit.exe. In the Registry Editor, open the following subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full Note that the path to the  Full  subkey includes the subkey  Net Framework rather than  .NET Framework . Note If the  Full  subkey is not present, then you do not have the .NET Framework 4.5 or later installed. Check for a DWORD value named  Release . The existence of the  Release DWORD indicates that the .NET Framework 4.5 or newer has been installed on that computer. The value of the  Release  DWORD indicates which version of the .NET Framework is installed. Value of the Release DWORD Version 378389 .NET Framework 4.5 378675 .NET Frame...

Developer Cheat Sheet

Image

Sending Email from Powershell

The Powershell comand to send email. $smtpServer = "0.0.0.0" $smtpFrom = "from@gmail.com" $smtpTo = "to@gmail.com" $messageSubject = "Subject of the email" $messageBody = "Body of the email" $smtp = New-Object Net.Mail.SmtpClient($smtpServer) $smtp.Send($smtpFrom,$smtpTo,$messagesubject,$messagebody)