FromAcdFilename() public static method

public static FromAcdFilename ( string acdFilename ) : AcdEncryption
acdFilename string
return AcdEncryption
示例#1
0
        public AcdReader(string filename, Stream input) : base(input)
        {
            _enc = AcdEncryption.FromAcdFilename(filename);

            if (ReadInt32() == -1111)
            {
                ReadInt32();
            }
            else
            {
                BaseStream.Seek(0, SeekOrigin.Begin);
            }
        }
示例#2
0
 public AcdWriter([NotNull] string filename, [NotNull] Stream output) : base(output)
 {
     _enc = AcdEncryption.FromAcdFilename(filename);
 }