You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
3.9 KiB
103 lines
3.9 KiB
#if NETFX
|
|
|
|
using System;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace IWshRuntimeLibrary
|
|
{
|
|
// Token: 0x0200001C RID: 28
|
|
[TypeLibType(4304)]
|
|
[DefaultMember("Path")]
|
|
[Guid("C7C3F5A4-88A3-11D0-ABCB-00A0C90FFFC0")]
|
|
[ComImport]
|
|
internal interface IFile
|
|
{
|
|
// Token: 0x1700004E RID: 78
|
|
// (get) Token: 0x060000BA RID: 186
|
|
[DispId(0)]
|
|
string Path { [DispId(0)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.BStr)] get; }
|
|
|
|
// Token: 0x1700004F RID: 79
|
|
// (get) Token: 0x060000BB RID: 187
|
|
// (set) Token: 0x060000BC RID: 188
|
|
[DispId(1000)]
|
|
string Name { [DispId(1000)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.BStr)] get; [DispId(1000)] [MethodImpl(MethodImplOptions.InternalCall)] [param: MarshalAs(UnmanagedType.BStr)] set; }
|
|
|
|
// Token: 0x17000050 RID: 80
|
|
// (get) Token: 0x060000BD RID: 189
|
|
[DispId(1002)]
|
|
string ShortPath { [DispId(1002)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.BStr)] get; }
|
|
|
|
// Token: 0x17000051 RID: 81
|
|
// (get) Token: 0x060000BE RID: 190
|
|
[DispId(1001)]
|
|
string ShortName { [DispId(1001)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.BStr)] get; }
|
|
|
|
// Token: 0x17000052 RID: 82
|
|
// (get) Token: 0x060000BF RID: 191
|
|
[DispId(1004)]
|
|
Drive Drive { [DispId(1004)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Interface)] get; }
|
|
|
|
// Token: 0x17000053 RID: 83
|
|
// (get) Token: 0x060000C0 RID: 192
|
|
[DispId(1005)]
|
|
Folder ParentFolder { [DispId(1005)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Interface)] get; }
|
|
|
|
// Token: 0x17000054 RID: 84
|
|
// (get) Token: 0x060000C1 RID: 193
|
|
// (set) Token: 0x060000C2 RID: 194
|
|
[DispId(1003)]
|
|
[ComAliasName("IWshRuntimeLibrary.FileAttribute")]
|
|
FileAttribute Attributes { [DispId(1003)] [MethodImpl(MethodImplOptions.InternalCall)] [return: ComAliasName("IWshRuntimeLibrary.FileAttribute")] get; [DispId(1003)] [MethodImpl(MethodImplOptions.InternalCall)] [param: ComAliasName("IWshRuntimeLibrary.FileAttribute")] set; }
|
|
|
|
// Token: 0x17000055 RID: 85
|
|
// (get) Token: 0x060000C3 RID: 195
|
|
[DispId(1006)]
|
|
DateTime DateCreated { [DispId(1006)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
|
|
// Token: 0x17000056 RID: 86
|
|
// (get) Token: 0x060000C4 RID: 196
|
|
[DispId(1007)]
|
|
DateTime DateLastModified { [DispId(1007)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
|
|
// Token: 0x17000057 RID: 87
|
|
// (get) Token: 0x060000C5 RID: 197
|
|
[DispId(1008)]
|
|
DateTime DateLastAccessed { [DispId(1008)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
|
|
// Token: 0x17000058 RID: 88
|
|
// (get) Token: 0x060000C6 RID: 198
|
|
[DispId(1009)]
|
|
object Size { [DispId(1009)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Struct)] get; }
|
|
|
|
// Token: 0x17000059 RID: 89
|
|
// (get) Token: 0x060000C7 RID: 199
|
|
[DispId(1010)]
|
|
string Type { [DispId(1010)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.BStr)] get; }
|
|
|
|
// Token: 0x060000C8 RID: 200
|
|
[DispId(1200)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void Delete([In] bool Force = false);
|
|
|
|
// Token: 0x060000C9 RID: 201
|
|
[DispId(1202)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void Copy([MarshalAs(UnmanagedType.BStr)] [In] string Destination, [In] bool OverWriteFiles = true);
|
|
|
|
// Token: 0x060000CA RID: 202
|
|
[DispId(1204)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void Move([MarshalAs(UnmanagedType.BStr)] [In] string Destination);
|
|
|
|
// Token: 0x060000CB RID: 203
|
|
[DispId(1100)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
[return: MarshalAs(UnmanagedType.Interface)]
|
|
TextStream OpenAsTextStream([In] IOMode IOMode = IOMode.ForReading, [In] Tristate Format = Tristate.TristateFalse);
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|