﻿// Decompiled with JetBrains decompiler
// Type: InvokedCommon.Extensions.DriveTypeExtensions
// Assembly: InvokedCommon, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: A935EE8A-7FFF-4BAB-94FD-31AEC4036FB9
// Assembly location: C:\Users\ian\Downloads\Telegram Desktop\fein\InvokedCommon.dll

using System.IO;


namespace InvokedCommon.Extensions
{
	public static class DriveTypeExtensions
	{
		public static string ToFriendlyString(this DriveType type)
		{
			switch (type)
			{
				case DriveType.Removable:
					return "Removable Drive";
				case DriveType.Fixed:
					return "Local Disk";
				case DriveType.Network:
					return "Network Drive";
				default:
					return type.ToString();
			}
		}
	}
}
