This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
using System;
namespace System.Net.Sockets
{
/// <summary>The <see cref="T:System.Net.Sockets.TransmitFileOptions" /> enumeration defines values used in file transfer requests.</summary>
// Token: 0x020001F9 RID: 505
[Flags]
public enum TransmitFileOptions
{
/// <summary>Use the default thread to process long file transfer requests.</summary>
// Token: 0x04000F3F RID: 3903
UseDefaultWorkerThread = 0,
/// <summary>Start a transport-level disconnect after all the file data has been queued for transmission. When used with <see cref="F:System.Net.Sockets.TransmitFileOptions.ReuseSocket" />, these flags return the socket to a disconnected, reusable state after the file has been transmitted.</summary>
// Token: 0x04000F40 RID: 3904
Disconnect = 1,
/// <summary>The socket handle may be reused when the request completes. This flag is valid only if <see cref="F:System.Net.Sockets.TransmitFileOptions.Disconnect" /> is also specified. When used with <see cref="F:System.Net.Sockets.TransmitFileOptions.Disconnect" />, these flags return the socket to a disconnected, reusable state after the file has been transmitted.</summary>
// Token: 0x04000F41 RID: 3905
ReuseSocket = 2,
/// <summary>Complete the file transfer request immediately, without pending. If this flag is specified and the file transfer succeeds, the data has been accepted by the system but not necessarily acknowledged by the remote end. Do not use this flag with the <see cref="F:System.Net.Sockets.TransmitFileOptions.Disconnect" /> and <see cref="F:System.Net.Sockets.TransmitFileOptions.ReuseSocket" /> flags.</summary>
// Token: 0x04000F42 RID: 3906
WriteBehind = 4,
/// <summary>Use system threads to process long file transfer requests.</summary>
// Token: 0x04000F43 RID: 3907
UseSystemThread = 16,
/// <summary>Use kernel asynchronous procedure calls (APCs) instead of worker threads to process long file transfer requests. Long requests are defined as requests that require more than a single read from the file or a cache; the request therefore depends on the size of the file and the specified length of the send packet.</summary>
// Token: 0x04000F44 RID: 3908
UseKernelApc = 32
}
}