InedoSDK Reference
Version:

AttachedPackage(AttachedPackageType packageType, string name, string version, byte[] hash, string source, bool active) Constructor

Initializes a new instance of the AttachedPackage class.

Syntax

public AttachedPackage(AttachedPackageType packageType, string name, string version, byte[] hash, string source, bool active)

Parameters

packageType
Type: AttachedPackageType

The package type.

name
Type: string

The package name.

version
Type: string

The package version.

hash
Type: byte[]

The package hash. May be null (Nothing in Visual Basic).

source
Type: string

The name of the package source. May be null (Nothing in Visual Basic).

active
Type: bool

Value indicating whether the package is active.

Exceptions

System.ArgumentNullException

name is null (Nothing in Visual Basic) or empty or version is null (Nothing in Visual Basic) or empty.