<TypeSignatureLanguage="C#"Value="public class Sync"Maintainer="auto"/>
<AssemblyInfo>
<AssemblyName>gnome-vfs-sharp</AssemblyName>
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes/>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <linklocation="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<summary>Create uri according to <seecref="T:Gnome.Vfs.OpenMode"/>.</summary>
<paramname="uri">
<seecref="T:System.String"/> representing the <seecref="T:Gnome.Vfs.Uri"/> to create.</param>
<paramname="mode">
<seecref="T:Gnome.Vfs.OpenMode"/>.</param>
<paramname="exclusive">Whether the file should be created in "exclusive" mode: i.e. if this flag is true, the operation will fail if a file with the same name already exists.</param>
<paramname="perm">Bitmap representing the <seecref="T:Gnome.Vfs.FilePermissions"/> for the newly created file (Unix style).</param>
<summary>Create <seecref="T:Gnome.Vfs.Uri"/> according to <seecref="T:Gnome.Vfs.OpenMode"/>.</summary>
<paramname="uri">
<seecref="T:Gnome.Vfs.Uri"/> for the file to create.</param>
<paramname="mode">
<seecref="T:Gnome.Vfs.OpenMode"/>.</param>
<paramname="exclusive">Whether the file should be created in "exclusive" mode: i.e. if this flag is true, the operation will fail if a file with the same name already exists.</param>
<paramname="perm">Bitmap representing the <seecref="T:Gnome.Vfs.FilePermissions"/> for the newly created file (Unix style).</param>
<summary>Read specified number of bytes from the uri <seecref="T:Gnome.Vfs.Handle"/>.</summary>
<paramname="handle">
<seecref="T:Gnome.Vfs.Handle"/> of the file to read data from.</param>
<paramname="buffer">
<seecref="T:System.Byte"/> array that must be at least as large as the specified number of bytes to read. The array needs to be passed as "out buffer[0]".</param>
<paramname="bytes">The number of bytes to read.</param>
<paramname="bytes_read">The number of bytes actually read.</param>
<remarks>As with Unix system calls, the number of bytes read can effectively be less than the specified number of bytes on return and will be stored in bytes_read.</remarks>
<summary>Set the current position for reading/writing through <seecref="T:Gnome.Vfs.Handle"/>.</summary>
<paramname="handle">
<seecref="T:Gnome.Vfs.Handle"/> for which the current position must be changed.</param>
<paramname="whence">
<seecref="T:Gnome.Vfs.SeekPosition"/> value representing the starting position.</param>
<paramname="offset">number of bytes to skip from the position specified by <seecref="T:Gnome.Vfs.SeekPosition"/> (a positive value means to move forward; a negative one to move backwards).</param>
<remarks>As with Unix system calls, the number of bytes written can effectively be less than the specified number or bytes on return and will be stored in bytes_written.</remarks>
<summary>Return the current position on <seecref="T:Gnome.Vfs.Handle"/>. This is the point in the file pointed to by <seecref="T:Gnome.Vfs.Handle"/> that reads and writes will occur on.</summary>
<paramname="handle">
<seecref="T:Gnome.Vfs.Handle"/> for which the current position must be retrieved.</param>
<paramname="offset">Contains the position on return.</param>
<summary>Truncate the file pointed at by <seecref="T:Gnome.Vfs.Handle"/> to the specified length. Data past the new length will be discarded.</summary>
<paramname="handle">
<seecref="T:Gnome.Vfs.Handle"/> to the file to be truncated.</param>
<paramname="length">length of the new file.</param>
<remarks>This is typically used for specialized vfs backends that need additional operations that gnome-vfs doesn't have. Compare it to the unix call ioctl(). The format of data depends on the operation. Operation that are backend specific are normally namespaced by their module name.</remarks>