Search notes:

System.Runtime.InteropServices.RuntimeEnvironment (class)

The System.Runtime.InteropServices.RuntimeEnvironment class contains a set of static methods that provide information about the Common Language Runtime Environment.

PowerShell

In PowerShell, this information might be queried like so:
PS C:\> [Runtime.InteropServices.RuntimeEnvironment]::SystemConfigurationFile   # Returns the location of the (system wide) machine.config file
PS C:\> [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()     # Directory where the CLR is installed.
PS C:\> [Runtime.InteropServices.RuntimeEnvironment]::GetSystemVersion()        # Version number of CLR that is is running the current process.

FromGlobalaccessCache

FromGlobalaccessCache tests whether a given assembly is loaded into the Global Assembly Cache, see this PowerShell script

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1738302478, '3.145.61.142', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Runtime/InteropServices/RuntimeEnvironment/index(44): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78