Skip to content

Commit

Permalink
Fixed issue with deleting attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sicos2002 committed Jul 2, 2015
1 parent 4639f06 commit 86306ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions MsgReader/Outlook/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1111,21 +1111,23 @@ public Encoding MessageCodePage
/// Initializes a new instance of the <see cref="Storage.Message" /> class from a msg file.
/// </summary>
/// <param name="msgfile">The msg file to load</param>
public Message(string msgfile) : base(msgfile) { }
/// <param name="fileAccess">FileAcces mode, default is Read</param>
public Message(string msgfile, FileAccess fileAccess = FileAccess.Read) : base(msgfile, fileAccess) { }

/// <summary>
/// Initializes a new instance of the <see cref="Storage.Message" /> class from a <see cref="Stream" /> containing an IStorage.
/// </summary>
/// <param name="storageStream"> The <see cref="Stream" /> containing an IStorage. </param>
public Message(Stream storageStream) : base(storageStream) { }
/// <param name="fileAccess">FileAcces mode, default is Read</param>
public Message(Stream storageStream, FileAccess fileAccess = FileAccess.Read) : base(storageStream, fileAccess) { }

/// <summary>
/// Initializes a new instance of the <see cref="Storage.Message" /> class on the specified <see cref="Storage.NativeMethods.IStorage"/>.
/// </summary>
/// <param name="storage"> The storage to create the <see cref="Storage.Message" /> on. </param>
/// <param name="renderingPosition"></param>
/// <param name="storageName">The name of the <see cref="Storage.NativeMethods.IStorage"/> stream that containts this message</param>
public Message(NativeMethods.IStorage storage, int renderingPosition, string storageName) : base(storage)
internal Message(NativeMethods.IStorage storage, int renderingPosition, string storageName) : base(storage)
{
StorageName = storageName;
_propHeaderSize = MapiTags.PropertiesStreamHeaderTop;
Expand Down
4 changes: 2 additions & 2 deletions MsgReader/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.9.5.0")]
[assembly: AssemblyFileVersion("1.9.5.0")]
[assembly: AssemblyVersion("1.9.6.0")]
[assembly: AssemblyFileVersion("1.9.6.0")]
4 changes: 2 additions & 2 deletions MsgViewer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.9.5.0")]
[assembly: AssemblyFileVersion("1.9.5.0")]
[assembly: AssemblyVersion("1.9.6.0")]
[assembly: AssemblyFileVersion("1.9.6.0")]

0 comments on commit 86306ae

Please sign in to comment.