Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            PhysicalDriveInfo info = obj as PhysicalDriveInfo;

            if (info == null)
            {
                return(base.Equals(obj));
            }

            return(Index == info.Index);
        }
Exemplo n.º 2
0
 internal PhysicalDriveStream(PhysicalDriveInfo drive, SafeFileHandle handle,
                              FileAccess access)
     : base(handle, access)
 {
     Drive = drive;
 }