21 lines
459 B
C#
21 lines
459 B
C#
using System;
|
|
using System.IO;
|
|
|
|
namespace ICSharpCode.SharpZipLib.Zip
|
|
{
|
|
// Token: 0x02000075 RID: 117
|
|
public class DynamicDiskDataSource : IDynamicDataSource
|
|
{
|
|
// Token: 0x06000483 RID: 1155 RVA: 0x00016914 File Offset: 0x00015914
|
|
public Stream GetSource(ZipEntry entry, string name)
|
|
{
|
|
Stream stream = null;
|
|
if (name != null)
|
|
{
|
|
stream = File.Open(name, FileMode.Open, FileAccess.Read, FileShare.Read);
|
|
}
|
|
return stream;
|
|
}
|
|
}
|
|
}
|