コード例 #1
0
        public static bool IsDriveReadOnly(string drive)
        {
            bool result = false;

            try
            {
                result = NativeDiskWrapper.CheckReadOnly(drive);
            }
            catch
            {
            }
            return(result);
        }