<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.maui-linux.net/index.php?action=history&amp;feed=atom&amp;title=GioSharp</id>
	<title>GioSharp - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.maui-linux.net/index.php?action=history&amp;feed=atom&amp;title=GioSharp"/>
	<link rel="alternate" type="text/html" href="https://wiki.maui-linux.net/index.php?title=GioSharp&amp;action=history"/>
	<updated>2026-04-09T00:30:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.maui-linux.net/index.php?title=GioSharp&amp;diff=163&amp;oldid=prev</id>
		<title>Ten: /* See also */</title>
		<link rel="alternate" type="text/html" href="https://wiki.maui-linux.net/index.php?title=GioSharp&amp;diff=163&amp;oldid=prev"/>
		<updated>2025-10-20T13:18:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;See also&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:18, 20 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[GIO]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[GLibSharp]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[GLibSharp]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[GtkSharp]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[GtkSharp]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Mono (software)]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Mono (software)]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[.NET (software framework)]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[D-Bus]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[D-Bus]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikimauilinuxnet-wmln:diff:1.41:old-143:rev-163:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Ten</name></author>
	</entry>
	<entry>
		<id>https://wiki.maui-linux.net/index.php?title=GioSharp&amp;diff=143&amp;oldid=prev</id>
		<title>Ten: Created page with &quot;{{Infobox software | name           = GioSharp | logo           = GTK_logo.svg | developer      = GNOME Project, Xamarin, and community contributors | released       = {{Start date|2008}} | programming_language = C# | operating_system = Cross-platform | platform       = .NET, Mono | genre          = System and I/O library bindings | license        = GNU Lesser General Public License | website        = [https://github.com/GtkSharp/GtkSharp GitHub repository] }}  &#039;&#039;&#039;GioSha...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.maui-linux.net/index.php?title=GioSharp&amp;diff=143&amp;oldid=prev"/>
		<updated>2025-10-20T10:30:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Infobox software | name           = GioSharp | logo           = GTK_logo.svg | developer      = GNOME Project, Xamarin, and community contributors | released       = {{Start date|2008}} | programming_language = C# | operating_system = Cross-platform | platform       = .NET, Mono | genre          = System and I/O library bindings | license        = GNU Lesser General Public License | website        = [https://github.com/GtkSharp/GtkSharp GitHub repository] }}  &amp;#039;&amp;#039;&amp;#039;GioSha...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox software&lt;br /&gt;
| name           = GioSharp&lt;br /&gt;
| logo           = GTK_logo.svg&lt;br /&gt;
| developer      = GNOME Project, Xamarin, and community contributors&lt;br /&gt;
| released       = {{Start date|2008}}&lt;br /&gt;
| programming_language = C#&lt;br /&gt;
| operating_system = Cross-platform&lt;br /&gt;
| platform       = .NET, Mono&lt;br /&gt;
| genre          = System and I/O library bindings&lt;br /&gt;
| license        = GNU Lesser General Public License&lt;br /&gt;
| website        = [https://github.com/GtkSharp/GtkSharp GitHub repository]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;GioSharp&amp;#039;&amp;#039;&amp;#039; is a set of [[C Sharp (programming language)|C#]] bindings for the [[GIO]] library, a part of the [[GLib]] utility and object framework used throughout the [[GNOME]] platform.  &lt;br /&gt;
It is included in the [[GtkSharp]] project and provides managed access to GIO’s high-level input/output, file system, networking, and application services.&lt;br /&gt;
&lt;br /&gt;
== Overview of GIO ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;GIO&amp;#039;&amp;#039;&amp;#039; is a library within the GLib ecosystem that provides an abstract, object-oriented API for performing common system-level tasks in a cross-platform manner.  &lt;br /&gt;
It replaces older POSIX-style APIs with a more flexible, [[GObject]]-based design, supporting asynchronous operations, virtual file systems, and stream abstractions.&lt;br /&gt;
&lt;br /&gt;
Key capabilities of GIO include:&lt;br /&gt;
* File and directory handling through [[GFile]] and [[GFileInfo]]  &lt;br /&gt;
* Stream I/O (input/output, buffered streams, data streams)  &lt;br /&gt;
* Asynchronous and cancellable operations  &lt;br /&gt;
* Application and D-Bus integration (GApplication, GDBus)  &lt;br /&gt;
* Network sockets and services (GSocket, GResolver, GNetworkMonitor)  &lt;br /&gt;
* Volume and drive monitoring  &lt;br /&gt;
&lt;br /&gt;
GIO is used internally by GTK and other GNOME libraries to manage resources in a portable way.&lt;br /&gt;
&lt;br /&gt;
== GioSharp ==&lt;br /&gt;
GioSharp provides managed .NET bindings for the native GIO library.  &lt;br /&gt;
It exposes GIO’s APIs through idiomatic C# classes and interfaces, enabling .NET and [[Mono (software)|Mono]] applications to access files, streams, network sockets, and interprocess communication mechanisms in a platform-independent manner.&lt;br /&gt;
&lt;br /&gt;
Using GioSharp, developers can:&lt;br /&gt;
* Perform file and directory operations across different backends (local or remote)  &lt;br /&gt;
* Handle asynchronous I/O using task-based programming in C#  &lt;br /&gt;
* Communicate over [[D-Bus]] using managed objects and signals  &lt;br /&gt;
* Build applications that use GApplication for single-instance management and session integration  &lt;br /&gt;
* Monitor devices, volumes, and network changes  &lt;br /&gt;
&lt;br /&gt;
== Relationship to other GtkSharp components ==&lt;br /&gt;
GioSharp complements other libraries in the GtkSharp ecosystem:&lt;br /&gt;
* [[GLibSharp]] – Provides the foundational GObject system and event loop used by GIO.  &lt;br /&gt;
* [[GtkSharp]] – Uses GIO for file dialogs, resource handling, and application integration.  &lt;br /&gt;
* [[GdkSharp]] – Can use GIO for stream and resource management in certain backends.  &lt;br /&gt;
&lt;br /&gt;
== Version compatibility ==&lt;br /&gt;
GioSharp versions correspond to the GTK and GLib releases:&lt;br /&gt;
* **GioSharp 2.x** – Used with GTK 2 and GLib 2.x  &lt;br /&gt;
* **GioSharp 3.x** – Updated for GTK 3 and GLib 2.40+  &lt;br /&gt;
* **GioSharp 4.x** – Planned for GTK 4 and modern .NET runtimes  &lt;br /&gt;
&lt;br /&gt;
== Usage example ==&lt;br /&gt;
A simple example of using GioSharp to read a file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
using Gio;&lt;br /&gt;
using GLib;&lt;br /&gt;
&lt;br /&gt;
File file = File.NewForPath(&amp;quot;example.txt&amp;quot;);&lt;br /&gt;
string contents = file.LoadContents(null, out _);&lt;br /&gt;
Console.WriteLine(contents);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[GIO]]&lt;br /&gt;
* [[GLibSharp]]&lt;br /&gt;
* [[GtkSharp]]&lt;br /&gt;
* [[Mono (software)]]&lt;br /&gt;
* [[.NET (software framework)]]&lt;br /&gt;
* [[D-Bus]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/GtkSharp/GtkSharp Official GtkSharp repository on GitHub]&lt;br /&gt;
* [https://docs.gtk.org/gio/ Official GIO documentation]&lt;br /&gt;
* [https://www.mono-project.com/docs/gui/gtksharp/ Gtk# documentation (Mono Project)]&lt;br /&gt;
&lt;br /&gt;
[[Category:GTK]]&lt;br /&gt;
[[Category:GIO]]&lt;br /&gt;
[[Category:Free software programmed in C Sharp]]&lt;br /&gt;
[[Category:Mono (software)]]&lt;br /&gt;
[[Category:Cross-platform software]]&lt;br /&gt;
[[Category:Graphical user interface toolkits]]&lt;br /&gt;
[[Category:System libraries]]&lt;/div&gt;</summary>
		<author><name>Ten</name></author>
	</entry>
</feed>