ProGet SDK Reference
Version:

CreateAsync(string path) Method

Creates a new empty file in the package store and returns a writable stream.

Syntax

protected abstract Task<System.IO.Stream> CreateAsync(string path)

Parameters

path
Type: string

The path of the file to create.

Returns

Writable stream backed by the specified file.

Exceptions

System.ArgumentNullException

path is null (Nothing in Visual Basic) or empty.