Export (0) Print
Expand All

HttpRuntime.CodegenDir Property

Gets the physical path to the directory where ASP.NET stores temporary files (generated sources, compiled assemblies, and so on) for the current application.

[Visual Basic]
Public Shared ReadOnly Property CodegenDir As String
public static string CodegenDir {get;}
public: __property static String* get_CodegenDir();
public static function get CodegenDir() : String;

Property Value

The physical path to the application's temporary file storage directory.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

  • FileIOPermission for access to the information in the path itself. This helps protect sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. This value does not grant access to files or folders represented by the path. Associated enumeration: FileIOPermissionAccess.PathDiscovery

See Also

HttpRuntime Class | HttpRuntime Members | System.Web Namespace

© 2014 Microsoft