50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace System.IO
|
|
{
|
|
// Token: 0x02000124 RID: 292
|
|
internal sealed class MonoIO
|
|
{
|
|
// Token: 0x06000A4A RID: 2634
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern bool Close(IntPtr handle, out MonoIOError error);
|
|
|
|
// Token: 0x1700029B RID: 667
|
|
// (get) Token: 0x06000A4B RID: 2635
|
|
public static extern IntPtr ConsoleOutput
|
|
{
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x1700029C RID: 668
|
|
// (get) Token: 0x06000A4C RID: 2636
|
|
public static extern IntPtr ConsoleInput
|
|
{
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x1700029D RID: 669
|
|
// (get) Token: 0x06000A4D RID: 2637
|
|
public static extern IntPtr ConsoleError
|
|
{
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x06000A4E RID: 2638
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern bool CreatePipe(out IntPtr read_handle, out IntPtr write_handle);
|
|
|
|
// Token: 0x06000A4F RID: 2639
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern bool DuplicateHandle(IntPtr source_process_handle, IntPtr source_handle, IntPtr target_process_handle, out IntPtr target_handle, int access, int inherit, int options);
|
|
|
|
// Token: 0x06000A50 RID: 2640
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern int GetTempPath(out string path);
|
|
}
|
|
}
|