C# Program to Get the Memory Size For OS Page File using Environment Class
Environment Class provides information about the current platform and manipulates, the current platform. It is useful for getting and setting various operating system-related information. We can use it in such a way that retrieves command-line arguments information, exit codes information, environment variable settings information, contents of the call stack information, and time since last system boot in milliseconds information. In this article, we will discuss how to find the memory size for the OS Page file. So we can find the memory size of the OS page file by using the SystemPageSize property. This property returns the number of bytes present in the operating system’s memory page.
Return Type: The return type of this property is an integer.
The memory size for OS page file is 4096
Sum:4 The memory size for OS page file is 4096