Manager.GetCodeBase(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the code base and the application name from the passed-in URL string.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool GetCodeBase(System::String ^ pURL, [Runtime::InteropServices::Out] System::String ^ % codeBase, [Runtime::InteropServices::Out] System::String ^ % application);
public static bool GetCodeBase (string pURL, out string codeBase, out string application);
static member GetCodeBase : string * string * string -> bool
Public Shared Function GetCodeBase (pURL As String, ByRef codeBase As String, ByRef application As String) As Boolean
Parameters
- pURL
- String
The URL for the code base.
- codeBase
- String
When this method returns, contains the path to the code base.
- application
- String
When this method returns, contains the application name.
Returns
true
if the code base was found; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.