SPUserCodeService.GetSolutionSignatureFromFile method
Gets the signature of a specified sandboxed solution package.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetSolutionSignatureFromFile ( _
filePath As String _
) As String
'Usage
Dim filePath As String
Dim returnValue As String
returnValue = SPUserCodeService.GetSolutionSignatureFromFile(filePath)
public static string GetSolutionSignatureFromFile(
string filePath
)
Parameters
filePath
Type: System.StringThe location of the solution package (.wsp file) on the local disk.
Return value
Type: System.String
The signature for the solution.
Exceptions
Exception | Condition |
---|---|
FileNotFoundException | The solution package file does not exist on the local disk. |
Remarks
You must be an administrator to call this method.