Package Class
Represents the information that is used to describe and install an add-in package.
Namespace: Microsoft.WindowsServerSolutions.AddinInfrastructure
Assembly: AddinInfrastructure (in AddinInfrastructure.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.AddinInfrastructure.Package
Syntax
[DataContractAttribute(Name = "Package", Namespace = "https://schemas.microsoft.com/WindowsServerSolutions/2010/03/Addins")]
public class Package
[DataContractAttribute(Name = "Package", Namespace = "https://schemas.microsoft.com/WindowsServerSolutions/2010/03/Addins")]
public ref class Package
<DataContractAttribute(Name := "Package", Namespace := "https://schemas.microsoft.com/WindowsServerSolutions/2010/03/Addins")>
Public Class Package
Constructors
Name | Description | |
---|---|---|
Package() | Initializes a new instance of the Package class. |
Properties
Name | Description | |
---|---|---|
Allow32BitOn64BitClients | Indicates whether 64-bit client computers must use 32-bit binaries if 64-bit binaries cannot be found. |
|
ClientBinary32 | Gets and sets the binary file to install on 32-bit client computers. |
|
ClientBinary64 | Gets and sets the binary file to install on 64-bit client computers. |
|
Id | Gets and sets the identifier of the add-in package. |
|
IsValidSku | Indicates whether the current add-in package can be installed on the specified edition of the operating system. |
|
Location | Gets and sets information about whether the add-in integrates with an online service or integrates with the local server. |
|
Name | Gets and sets the name of the add-in package. |
|
OtherBinaries | Gets the binaries for operating systems other than the Windows operating system. |
|
Preinstall | Gets and sets the pre-installation commands. |
|
PrivacyStatement | Gets and sets the address of the privacy statement for the add-in. |
|
ServerBinary | Gets and sets the binary file to install on the server. |
|
ShowSupplementalNotice | Gets and sets a value that determines if the supplemental notice is shown. |
|
SupportUrl | Gets and sets the URL where support information for the add-in package is located. |
|
UninstallConfirm | Gets and sets the uninstall confirmation object. |
|
Version | Gets and sets the version of the add-in package. |
Methods
Name | Description | |
---|---|---|
CreateCompanyStringFromFile(String) | Returns the company name from the certificate that was used to sign the specified file. |
|
CreateFromFile(String) | Creates a Package object from the specified file. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ReadEulaFromFile(String) | Extracts the Microsoft Software License Terms from the add-in package and returns the contents. |
|
ToString() | Returns a String object that represents the current add-in package.(Overrides Object.ToString().) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace
Return to top