You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

OpenMcdf

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openmcdf - nuget Package Compare versions

Comparing version
3.0.1
to
3.0.2
services/metadata/...c555cc1330974a32b79c7c25736080ce.psmdcp

Sorry, the diff of this file is not supported yet

+286
-3

@@ -19,5 +19,57 @@ <?xml version="1.0"?>

<summary>
Represents a stream in a compound file.
Represents a stream in a compound file. Provides read, write, seek, and length operations for compound file streams.
</summary>
</member>
<member name="P:OpenMcdf.CfbStream.Parent">
<summary>
Gets the parent storage containing this stream.
</summary>
</member>
<member name="P:OpenMcdf.CfbStream.EntryInfo">
<summary>
Gets metadata about this stream entry.
</summary>
</member>
<member name="P:OpenMcdf.CfbStream.CanRead">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.CanSeek">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.CanWrite">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.Length">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.Position">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Flush">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Read(System.Byte[],System.Int32,System.Int32)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Seek(System.Int64,System.IO.SeekOrigin)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.SetLength(System.Int64)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Write(System.Byte[],System.Int32,System.Int32)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Read(System.Span{System.Byte})">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.ReadByte">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.WriteByte(System.Byte)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Write(System.ReadOnlySpan{System.Byte})">
<inheritdoc/>
</member>
<member name="T:OpenMcdf.ContextBase">

@@ -521,7 +573,141 @@ <summary>

</member>
<member name="T:OpenMcdf.Version">
<summary>
Represents the major version of the compound file.
</summary>
</member>
<member name="F:OpenMcdf.Version.V3">
<summary>
512 byte sectors.
</summary>
</member>
<member name="F:OpenMcdf.Version.V4">
<summary>
4096 byte sectors.
</summary>
</member>
<member name="T:OpenMcdf.StorageModeFlags">
<summary>
Specifies options for configuring the behavior of a compound file root storage.
</summary>
</member>
<member name="F:OpenMcdf.StorageModeFlags.None">
<summary>
Default mode with no special flags set.
</summary>
</member>
<member name="F:OpenMcdf.StorageModeFlags.LeaveOpen">
<summary>
Leaves the underlying stream open after the <see cref="T:OpenMcdf.RootStorage"/> is disposed.
</summary>
</member>
<member name="F:OpenMcdf.StorageModeFlags.Transacted">
<summary>
Allows the compound file to be used in a transacted context, enabling rollback of changes.
</summary>
</member>
<member name="T:OpenMcdf.RootStorage">
<summary>
Encapsulates the root <see cref="T:OpenMcdf.Storage"/> of a compound file.
Encapsulates the root <see cref="T:OpenMcdf.Storage"/> of a compound file. Provides methods to create, open, commit, revert, and consolidate compound files.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.Create(System.String,OpenMcdf.Version,OpenMcdf.StorageModeFlags)">
<summary>
Creates a new compound file at the specified file path.
</summary>
<param name="fileName">The file path to create the compound file.</param>
<param name="version">The compound file version.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>A new <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Create(System.IO.Stream,OpenMcdf.Version,OpenMcdf.StorageModeFlags)">
<summary>
Creates a new compound file in the specified stream.
</summary>
<param name="stream">The stream to use for the compound file.</param>
<param name="version">The compound file version.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>A new <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.CreateInMemory(OpenMcdf.Version,OpenMcdf.StorageModeFlags)">
<summary>
Creates a new in-memory compound file.
</summary>
<param name="version">The compound file version.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>A new <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Open(System.String,System.IO.FileMode,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file from the specified file path.
</summary>
<param name="fileName">The file path to open.</param>
<param name="mode">The file mode to use.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Open(System.String,System.IO.FileMode,System.IO.FileAccess,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file from the specified file path with access control.
</summary>
<param name="fileName">The file path to open.</param>
<param name="mode">The file mode to use.</param>
<param name="access">The file access mode.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Open(System.IO.Stream,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file from the specified stream.
</summary>
<param name="stream">The stream to open.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.OpenRead(System.String,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file for read-only access.
</summary>
<param name="fileName">The file path to open.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Dispose">
<summary>
Disposes the current context of the compound file.
</summary>
</member>
<member name="P:OpenMcdf.RootStorage.BaseStream">
<summary>
Gets the underlying stream for this compound file.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.Flush(System.Boolean)">
<summary>
Flushes changes to the underlying stream. Optionally consolidates the file.
</summary>
<param name="consolidate">If true, consolidates the file after flushing.</param>
</member>
<member name="M:OpenMcdf.RootStorage.Commit">
<summary>
Commits all changes to the compound file.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.Revert">
<summary>
Reverts all uncommitted changes to the compound file.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.SwitchTo(System.IO.Stream)">
<summary>
Switches the underlying storage to a new stream.
</summary>
<param name="stream">The new stream to use.</param>
</member>
<member name="M:OpenMcdf.RootStorage.SwitchTo(System.String)">
<summary>
Switches the underlying storage to a new file.
</summary>
<param name="fileName">The new file to use.</param>
</member>
<member name="T:OpenMcdf.Sector">

@@ -569,5 +755,102 @@ <summary>

<summary>
An object in a compound file that is analogous to a file system directory.
An object in a compound file that is analogous to a file system directory. Provides methods to create, open, enumerate, and delete entries, as well as to manage metadata.
</summary>
</member>
<member name="P:OpenMcdf.Storage.EntryInfo">
<summary>
Gets metadata about this storage entry.
</summary>
</member>
<member name="P:OpenMcdf.Storage.CreationTime">
<summary>
Gets or sets the creation time for this storage.
</summary>
</member>
<member name="P:OpenMcdf.Storage.ModifiedTime">
<summary>
Gets or sets the last modified time for this storage.
</summary>
</member>
<member name="P:OpenMcdf.Storage.StateBits">
<summary>
Gets or sets the state bits for this storage.
</summary>
</member>
<member name="M:OpenMcdf.Storage.EnumerateEntries">
<summary>
Enumerates all entries (storages and streams) contained in this storage.
</summary>
<returns>An enumerable of <see cref="P:OpenMcdf.Storage.EntryInfo"/> objects.</returns>
</member>
<member name="M:OpenMcdf.Storage.ContainsEntry(System.String)">
<summary>
Determines whether an entry with the specified name exists in this storage.
</summary>
<param name="name">The entry name.</param>
<returns>True if the entry exists; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.TryGetEntryInfo(System.String,OpenMcdf.EntryInfo@)">
<summary>
Attempts to get metadata for an entry by name.
</summary>
<param name="name">The entry name.</param>
<param name="entryInfo">The entry info if found.</param>
<returns>True if found; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.CreateStorage(System.String)">
<summary>
Creates a new storage entry with the specified name.
</summary>
<param name="name">The name of the new storage.</param>
<returns>The created <see cref="T:OpenMcdf.Storage"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.CreateStream(System.String)">
<summary>
Creates a new stream entry with the specified name.
</summary>
<param name="name">The name of the new stream.</param>
<returns>The created <see cref="T:OpenMcdf.CfbStream"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.OpenStorage(System.String)">
<summary>
Opens an existing storage entry by name.
</summary>
<param name="name">The name of the storage to open.</param>
<returns>The opened <see cref="T:OpenMcdf.Storage"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.TryOpenStorage(System.String,OpenMcdf.Storage@)">
<summary>
Attempts to open a storage entry by name.
</summary>
<param name="name">The name of the storage.</param>
<param name="storage">The opened storage if found.</param>
<returns>True if found; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.OpenStream(System.String)">
<summary>
Opens an existing stream entry by name.
</summary>
<param name="name">The name of the stream to open.</param>
<returns>The opened <see cref="T:OpenMcdf.CfbStream"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.TryOpenStream(System.String,OpenMcdf.CfbStream@)">
<summary>
Attempts to open a stream entry by name.
</summary>
<param name="name">The name of the stream.</param>
<param name="stream">The opened stream if found.</param>
<returns>True if found; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.CopyTo(OpenMcdf.Storage)">
<summary>
Copies all entries from this storage to the specified destination storage.
</summary>
<param name="destination">The destination storage.</param>
</member>
<member name="M:OpenMcdf.Storage.Delete(System.String)">
<summary>
Deletes the entry with the specified name from this storage.
</summary>
<param name="name">The name of the entry to delete.</param>
</member>
<member name="T:OpenMcdf.StreamExtensions">

@@ -574,0 +857,0 @@ <summary>

@@ -19,5 +19,45 @@ <?xml version="1.0"?>

<summary>
Represents a stream in a compound file.
Represents a stream in a compound file. Provides read, write, seek, and length operations for compound file streams.
</summary>
</member>
<member name="P:OpenMcdf.CfbStream.Parent">
<summary>
Gets the parent storage containing this stream.
</summary>
</member>
<member name="P:OpenMcdf.CfbStream.EntryInfo">
<summary>
Gets metadata about this stream entry.
</summary>
</member>
<member name="P:OpenMcdf.CfbStream.CanRead">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.CanSeek">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.CanWrite">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.Length">
<inheritdoc/>
</member>
<member name="P:OpenMcdf.CfbStream.Position">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Flush">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Read(System.Byte[],System.Int32,System.Int32)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Seek(System.Int64,System.IO.SeekOrigin)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.SetLength(System.Int64)">
<inheritdoc/>
</member>
<member name="M:OpenMcdf.CfbStream.Write(System.Byte[],System.Int32,System.Int32)">
<inheritdoc/>
</member>
<member name="T:OpenMcdf.ContextBase">

@@ -521,7 +561,141 @@ <summary>

</member>
<member name="T:OpenMcdf.Version">
<summary>
Represents the major version of the compound file.
</summary>
</member>
<member name="F:OpenMcdf.Version.V3">
<summary>
512 byte sectors.
</summary>
</member>
<member name="F:OpenMcdf.Version.V4">
<summary>
4096 byte sectors.
</summary>
</member>
<member name="T:OpenMcdf.StorageModeFlags">
<summary>
Specifies options for configuring the behavior of a compound file root storage.
</summary>
</member>
<member name="F:OpenMcdf.StorageModeFlags.None">
<summary>
Default mode with no special flags set.
</summary>
</member>
<member name="F:OpenMcdf.StorageModeFlags.LeaveOpen">
<summary>
Leaves the underlying stream open after the <see cref="T:OpenMcdf.RootStorage"/> is disposed.
</summary>
</member>
<member name="F:OpenMcdf.StorageModeFlags.Transacted">
<summary>
Allows the compound file to be used in a transacted context, enabling rollback of changes.
</summary>
</member>
<member name="T:OpenMcdf.RootStorage">
<summary>
Encapsulates the root <see cref="T:OpenMcdf.Storage"/> of a compound file.
Encapsulates the root <see cref="T:OpenMcdf.Storage"/> of a compound file. Provides methods to create, open, commit, revert, and consolidate compound files.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.Create(System.String,OpenMcdf.Version,OpenMcdf.StorageModeFlags)">
<summary>
Creates a new compound file at the specified file path.
</summary>
<param name="fileName">The file path to create the compound file.</param>
<param name="version">The compound file version.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>A new <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Create(System.IO.Stream,OpenMcdf.Version,OpenMcdf.StorageModeFlags)">
<summary>
Creates a new compound file in the specified stream.
</summary>
<param name="stream">The stream to use for the compound file.</param>
<param name="version">The compound file version.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>A new <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.CreateInMemory(OpenMcdf.Version,OpenMcdf.StorageModeFlags)">
<summary>
Creates a new in-memory compound file.
</summary>
<param name="version">The compound file version.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>A new <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Open(System.String,System.IO.FileMode,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file from the specified file path.
</summary>
<param name="fileName">The file path to open.</param>
<param name="mode">The file mode to use.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Open(System.String,System.IO.FileMode,System.IO.FileAccess,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file from the specified file path with access control.
</summary>
<param name="fileName">The file path to open.</param>
<param name="mode">The file mode to use.</param>
<param name="access">The file access mode.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Open(System.IO.Stream,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file from the specified stream.
</summary>
<param name="stream">The stream to open.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.OpenRead(System.String,OpenMcdf.StorageModeFlags)">
<summary>
Opens an existing compound file for read-only access.
</summary>
<param name="fileName">The file path to open.</param>
<param name="flags">Flags controlling storage behavior.</param>
<returns>An opened <see cref="T:OpenMcdf.RootStorage"/> instance.</returns>
</member>
<member name="M:OpenMcdf.RootStorage.Dispose">
<summary>
Disposes the current context of the compound file.
</summary>
</member>
<member name="P:OpenMcdf.RootStorage.BaseStream">
<summary>
Gets the underlying stream for this compound file.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.Flush(System.Boolean)">
<summary>
Flushes changes to the underlying stream. Optionally consolidates the file.
</summary>
<param name="consolidate">If true, consolidates the file after flushing.</param>
</member>
<member name="M:OpenMcdf.RootStorage.Commit">
<summary>
Commits all changes to the compound file.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.Revert">
<summary>
Reverts all uncommitted changes to the compound file.
</summary>
</member>
<member name="M:OpenMcdf.RootStorage.SwitchTo(System.IO.Stream)">
<summary>
Switches the underlying storage to a new stream.
</summary>
<param name="stream">The new stream to use.</param>
</member>
<member name="M:OpenMcdf.RootStorage.SwitchTo(System.String)">
<summary>
Switches the underlying storage to a new file.
</summary>
<param name="fileName">The new file to use.</param>
</member>
<member name="T:OpenMcdf.Sector">

@@ -569,5 +743,102 @@ <summary>

<summary>
An object in a compound file that is analogous to a file system directory.
An object in a compound file that is analogous to a file system directory. Provides methods to create, open, enumerate, and delete entries, as well as to manage metadata.
</summary>
</member>
<member name="P:OpenMcdf.Storage.EntryInfo">
<summary>
Gets metadata about this storage entry.
</summary>
</member>
<member name="P:OpenMcdf.Storage.CreationTime">
<summary>
Gets or sets the creation time for this storage.
</summary>
</member>
<member name="P:OpenMcdf.Storage.ModifiedTime">
<summary>
Gets or sets the last modified time for this storage.
</summary>
</member>
<member name="P:OpenMcdf.Storage.StateBits">
<summary>
Gets or sets the state bits for this storage.
</summary>
</member>
<member name="M:OpenMcdf.Storage.EnumerateEntries">
<summary>
Enumerates all entries (storages and streams) contained in this storage.
</summary>
<returns>An enumerable of <see cref="P:OpenMcdf.Storage.EntryInfo"/> objects.</returns>
</member>
<member name="M:OpenMcdf.Storage.ContainsEntry(System.String)">
<summary>
Determines whether an entry with the specified name exists in this storage.
</summary>
<param name="name">The entry name.</param>
<returns>True if the entry exists; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.TryGetEntryInfo(System.String,OpenMcdf.EntryInfo@)">
<summary>
Attempts to get metadata for an entry by name.
</summary>
<param name="name">The entry name.</param>
<param name="entryInfo">The entry info if found.</param>
<returns>True if found; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.CreateStorage(System.String)">
<summary>
Creates a new storage entry with the specified name.
</summary>
<param name="name">The name of the new storage.</param>
<returns>The created <see cref="T:OpenMcdf.Storage"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.CreateStream(System.String)">
<summary>
Creates a new stream entry with the specified name.
</summary>
<param name="name">The name of the new stream.</param>
<returns>The created <see cref="T:OpenMcdf.CfbStream"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.OpenStorage(System.String)">
<summary>
Opens an existing storage entry by name.
</summary>
<param name="name">The name of the storage to open.</param>
<returns>The opened <see cref="T:OpenMcdf.Storage"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.TryOpenStorage(System.String,OpenMcdf.Storage@)">
<summary>
Attempts to open a storage entry by name.
</summary>
<param name="name">The name of the storage.</param>
<param name="storage">The opened storage if found.</param>
<returns>True if found; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.OpenStream(System.String)">
<summary>
Opens an existing stream entry by name.
</summary>
<param name="name">The name of the stream to open.</param>
<returns>The opened <see cref="T:OpenMcdf.CfbStream"/>.</returns>
</member>
<member name="M:OpenMcdf.Storage.TryOpenStream(System.String,OpenMcdf.CfbStream@)">
<summary>
Attempts to open a stream entry by name.
</summary>
<param name="name">The name of the stream.</param>
<param name="stream">The opened stream if found.</param>
<returns>True if found; otherwise, false.</returns>
</member>
<member name="M:OpenMcdf.Storage.CopyTo(OpenMcdf.Storage)">
<summary>
Copies all entries from this storage to the specified destination storage.
</summary>
<param name="destination">The destination storage.</param>
</member>
<member name="M:OpenMcdf.Storage.Delete(System.String)">
<summary>
Deletes the entry with the specified name from this storage.
</summary>
<param name="name">The name of the entry to delete.</param>
</member>
<member name="T:OpenMcdf.StreamExtensions">

@@ -574,0 +845,0 @@ <summary>

+2
-2

@@ -5,3 +5,3 @@ <?xml version="1.0" encoding="utf-8"?>

<id>OpenMcdf</id>
<version>3.0.1</version>
<version>3.0.2</version>
<title>OpenMcdf</title>

@@ -19,3 +19,3 @@ <authors>ironfede,jeremy-visionaid</authors>

<tags>MS-CFB Compound File Binary File Format Structured Storage</tags>
<repository type="git" url="https://github.com/ironfede/openmcdf" commit="10913b82dda5d2e40f3336f30296847ef3ee6760" />
<repository type="git" url="https://github.com/ironfede/openmcdf" commit="3d8c3605053fec29b872eeae4e24c63afcf2eb61" />
<dependencies>

@@ -22,0 +22,0 @@ <group targetFramework="net8.0" />

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet