PrizmDoc Server .NET SDK

Show / Hide Table of Contents

Class RemoteWorkFile

Contains information about a remote work file.

Inheritance
Object
RemoteWorkFile
Implements
IEquatable<RemoteWorkFile>
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Accusoft.PrizmDocServer
Assembly: PrizmDocServerSDK.dll
Syntax
public class RemoteWorkFile : IEquatable<RemoteWorkFile>

Properties

AffinityToken

Gets affinity token of the remote work file, identifying the remote server the file is stored on.

Declaration
public string AffinityToken { get; }
Property Value
Type Description
String

FileExtension

Gets file extension for the remote work file, indicating the file type.

Declaration
public string FileExtension { get; }
Property Value
Type Description
String

FileId

Gets unique id of the remote work file.

Declaration
public string FileId { get; }
Property Value
Type Description
String

Methods

CopyToAsync(Stream)

Downloads the remote work file and copies it to a local stream.

Declaration
public Task CopyToAsync(Stream stream)
Parameters
Type Name Description
Stream stream

Stream where the file should be copied to.

Returns
Type Description
Task

A Task representing the result of the asynchronous operation.

Equals(RemoteWorkFile)

Declaration
public bool Equals(RemoteWorkFile other)
Parameters
Type Name Description
RemoteWorkFile other
Returns
Type Description
Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

SaveAsync(String)

Downloads the remote work file and saves it to a local file path.

Declaration
public Task SaveAsync(string localFilePath)
Parameters
Type Name Description
String localFilePath

Path where the file should be written to.

Returns
Type Description
Task

A Task representing the result of the asynchronous operation.

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Implements

System.IEquatable<T>
Back to top © 2019-2020 Accusoft Corporation. All Rights Reserved.