Edit

Share via


Manager.GetCodeBase(String, String, String) Method

Definition

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