Show / Hide Table of Contents

Class FileSystemExtensions

Inheritance
object
FileSystemExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public static class FileSystemExtensions

Methods

CheckZipEntry(ZipEntry)

Declaration
[Obsolete("Deprecated in DotNetNuke 9.11.0. Replaced with .NET compression types. Scheduled for removal in v11.0.0.")]
public static void CheckZipEntry(this ZipEntry input)
Parameters
Type Name Description
ZipEntry input

CheckZipEntry(ZipArchiveEntry)

Declaration
public static void CheckZipEntry(this ZipArchiveEntry input)
Parameters
Type Name Description
ZipArchiveEntry input

CopyToStream(Stream, Stream, int)

Declaration
public static void CopyToStream(this Stream strIn, Stream strOut, int bufferSize)
Parameters
Type Name Description
Stream strIn
Stream strOut
int bufferSize

FileEntries(ZipArchive)

Declaration
public static IEnumerable<ZipArchiveEntry> FileEntries(this ZipArchive zip)
Parameters
Type Name Description
ZipArchive zip
Returns
Type Description
IEnumerable<ZipArchiveEntry>

ReadTextFile(ZipArchiveEntry)

Declaration
public static string ReadTextFile(this ZipArchiveEntry input)
Parameters
Type Name Description
ZipArchiveEntry input
Returns
Type Description
string
Back to top by the community, for the community... #DNNCMS