Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRuntime.BinDirectory Property

Gets the physical path to the/bin directory for the current application.

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

Property Value

The path to the current application's/bin 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

© 2015 Microsoft