InedoSDK Reference
Version:

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

Initializes a new instance of the AttachedPackage class.

Syntax

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

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).

Exceptions

System.ArgumentNullException

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