2009-01-07 21:12:08 +00:00
<Type Name= "MountOperation" FullName= "GLib.MountOperation" >
<TypeSignature Language= "C#" Value= "public class MountOperation : GLib.Object" />
<AssemblyInfo >
<AssemblyName > gio-sharp</AssemblyName>
</AssemblyInfo>
<Base >
<BaseTypeName > GLib.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs >
2009-01-08 15:28:27 +00:00
<summary >
<see cref= "T:GLib.MountOperation" /> : Authentication methods for mountable locations.</summary>
<remarks >
<para >
<see cref= "T:GLib.MountOperation" /> provides a mechanism for authenticating mountable operations, such as loop mounting files, hard drive partitions or server locations.</para>
<para > Mounting operations are handed a <see cref= "T:GLib.MountOperation" /> that then can use if they require any privileges or authentication for their volumes to be mounted (e.g. a hard disk partition or an encrypted filesystem), or if they are implementing a remote server protocol which requires user credentials such as FTP or WebDAV.</para>
<para > Users should instantiate a subclass of this that implements all the various callbacks to show the required dialogs, such as <see cref= "T:Gtk.MountOperation" /> .</para>
</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public MountOperation ();" />
<MemberType > Constructor</MemberType>
<Parameters />
<Docs >
2009-01-08 15:28:27 +00:00
<summary > Creates a new mount operation.</summary>
<remarks > This is not normally used, instead you instantiate a subclass of this, such as <see cref= "T:Gtk.MountOperation" /> .</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected MountOperation (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<Attributes >
<Attribute >
<AttributeName > System.Obsolete</AttributeName>
</Attribute>
</Attributes>
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
<param name= "gtype" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public MountOperation (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
<param name= "raw" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Anonymous" >
<MemberSignature Language= "C#" Value= "public bool Anonymous { set; get; }" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("anonymous")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > Wether to use an anonymous user when authenticating.</summary>
2009-01-07 21:12:08 +00:00
<value > To be added.</value>
2009-01-08 15:28:27 +00:00
<remarks > Default to False.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "AskPassword" >
<MemberSignature Language= "C#" Value= "public event GLib.AskPasswordHandler AskPassword;" />
<MemberType > Event</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Signal("ask-password")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > GLib.AskPasswordHandler</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > Emitted when a mount operation asks the user for a password.
</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "AskQuestion" >
<MemberSignature Language= "C#" Value= "public event GLib.AskQuestionHandler AskQuestion;" />
<MemberType > Event</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Signal("ask-question")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > GLib.AskQuestionHandler</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > Emitted when asking the user a question and gives a list of choices for the user to choose from.</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Choice" >
<MemberSignature Language= "C#" Value= "public int Choice { set; get; }" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("choice")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > The index of the user's choice when a question is asked.</summary>
<value > The index of the user's choice when a question is asked during the mount operation.</value>
<remarks >
<para > Allowed values: > = 0</para>
<para > Default value: 0</para>
<para > See also <see cref= "E:GLib.MountOperation.AskQuestion" /> .</para>
</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Domain" >
<MemberSignature Language= "C#" Value= "public string Domain { set; get; }" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("domain")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > The domain to use for the mount operation.</summary>
<value > The domain to use for the mount operation.</value>
<remarks > Default value: null.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "EmitReply" >
<MemberSignature Language= "C#" Value= "public void EmitReply (GLib.MountOperationResult result);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "result" Type= "GLib.MountOperationResult" />
</Parameters>
<Docs >
2009-01-08 15:28:27 +00:00
<param name= "result" > A <see cref= "T:GLib.MountOperationResult" /> </param>
<summary > Emits the <see cref= "M:GLib.MountOperation.Reply" /> signal.</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "OnAskPassword" >
<MemberSignature Language= "C#" Value= "protected virtual void OnAskPassword (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);" />
<MemberType > Method</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideAskPassword", Type=typeof(GLib.MountOperation))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "message" Type= "System.String" />
<Parameter Name= "default_user" Type= "System.String" />
<Parameter Name= "default_domain" Type= "System.String" />
<Parameter Name= "flags" Type= "GLib.AskPasswordFlags" />
</Parameters>
<Docs >
<param name= "message" > To be added.</param>
<param name= "default_user" > To be added.</param>
<param name= "default_domain" > To be added.</param>
<param name= "flags" > To be added.</param>
2009-01-08 15:28:27 +00:00
<summary > Default handler for the <see cref= "M:GLib.MountOperation.AskPassword" /> event.</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "OnAskQuestion" >
<MemberSignature Language= "C#" Value= "protected virtual void OnAskQuestion (string message, string[] choices);" />
<MemberType > Method</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideAskQuestion", Type=typeof(GLib.MountOperation))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "message" Type= "System.String" />
<Parameter Name= "choices" Type= "System.String[]" />
</Parameters>
<Docs >
<param name= "message" > To be added.</param>
<param name= "choices" > To be added.</param>
2009-01-08 15:28:27 +00:00
<summary > Default handler for the <see cref= "M:GLib.MountOperation.AskQuestion" /> event.</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "OnReply" >
<MemberSignature Language= "C#" Value= "protected virtual void OnReply (GLib.MountOperationResult result);" />
<MemberType > Method</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.DefaultSignalHandler(ConnectionMethod="OverrideReply", Type=typeof(GLib.MountOperation))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "result" Type= "GLib.MountOperationResult" />
</Parameters>
<Docs >
<param name= "result" > To be added.</param>
2009-01-08 15:28:27 +00:00
<summary > Default handler for the <see cref= "M:GLib.MountOperation.Reply" /> event.</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Password" >
<MemberSignature Language= "C#" Value= "public string Password { set; get; }" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("password")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > The password that is used for authentication</summary>
<value > The password that is used for authentication when carrying out the mount operation.</value>
<remarks > Default value: null.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "PasswordSave" >
<MemberSignature Language= "C#" Value= "public GLib.PasswordSave PasswordSave { set; get; }" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("password-save")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > GLib.PasswordSave</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > Ff and how the password information should be saved.</summary>
<value > Determines if and how the password information should be saved.</value>
<remarks > Default value: <see cref= "M:GLib.PasswordSave.Never" /> </remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Reply" >
<MemberSignature Language= "C#" Value= "public event GLib.ReplyHandler Reply;" />
<MemberType > Event</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Signal("reply")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > GLib.ReplyHandler</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > Emitted when the user has replied to the mount operation.</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Username" >
<MemberSignature Language= "C#" Value= "public string Username { set; get; }" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property("username")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:27 +00:00
<summary > The user name that is used for authentication.</summary>
<value > The user name that is used for authentication when carrying out the mount operation.</value>
<remarks > Default value: null.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
</Members>
2009-05-14 18:32:22 +00:00
</Type>