Download full document:

ApplicationService.SetAttachment Method (Int32, String, Byte[], Byte[])

Note: This API is now obsolete.

Attach a file to a given application

Namespace: Citrix.SDK.AppDNA
Assembly: Citrix.SDK.AppDNA (in Citrix.SDK.AppDNA.dll) Version: 7.11.0.0 (7.11.0.0)

Syntax

C

[ObsoleteAttribute("Use strongly typed SetAttachment(Application application, string filename, byte[] valueToAttach, byte[] hash) method")]
public ApplicationAttachment SetAttachment(
    int sticky_application_id,
    string filename,
    byte[] valueToAttach,
    byte[] hash
)

VB

<ObsoleteAttribute("Use strongly typed SetAttachment(Application application, string filename, byte[] valueToAttach, byte[] hash) method")>
Public Function SetAttachment ( 
    sticky_application_id As Integer,
    filename As String,
    valueToAttach As Byte(),
    hash As Byte()
) As ApplicationAttachment

Parameters

 

sticky_application_id
Type: System.Int32
Id of the Application objects.
filename
Type: System.String
Name of the file to be attached.
valueToAttach
Type: System.Byte[]
Value to be attached.
hash
Type: System.Byte[]
Hash of the file.

Return Value

Type: ApplicationAttachment

See Also

Reference

ApplicationService Class
SetAttachment Overload
Citrix.SDK.AppDNA Namespace