forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSystem.IO.FileSystem.DriveInfo.cs
More file actions
44 lines (43 loc) · 2.09 KB
/
System.IO.FileSystem.DriveInfo.cs
File metadata and controls
44 lines (43 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ------------------------------------------------------------------------------
// Changes to this file must follow the http://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace System.IO
{
public sealed partial class DriveInfo : System.Runtime.Serialization.ISerializable
{
public DriveInfo(string driveName) { }
public long AvailableFreeSpace { get { throw null; } }
public string DriveFormat { get { throw null; } }
public System.IO.DriveType DriveType { get { throw null; } }
public bool IsReady { get { throw null; } }
public string Name { get { throw null; } }
public System.IO.DirectoryInfo RootDirectory { get { throw null; } }
public long TotalFreeSpace { get { throw null; } }
public long TotalSize { get { throw null; } }
[System.Diagnostics.CodeAnalysis.AllowNull]
public string VolumeLabel { get { throw null; } set { } }
public static System.IO.DriveInfo[] GetDrives() { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public override string ToString() { throw null; }
}
public partial class DriveNotFoundException : System.IO.IOException
{
public DriveNotFoundException() { }
protected DriveNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public DriveNotFoundException(string? message) { }
public DriveNotFoundException(string? message, System.Exception? innerException) { }
}
public enum DriveType
{
Unknown = 0,
NoRootDirectory = 1,
Removable = 2,
Fixed = 3,
Network = 4,
CDRom = 5,
Ram = 6,
}
}