Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

Required plugins for this example: MBS CURL Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /CURL/CURLS info
This example is the version from Thu, 22th Feb 2017.
Project "CURLS info.rbp"
Filetype text
End FileTypes
Class Window1 Inherits Window
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
Control StaticText3 Inherits Label
ControlInstance StaticText3 Inherits Label
End Control
Control StaticText4 Inherits Label
ControlInstance StaticText4 Inherits Label
End Control
Control StaticText5 Inherits Label
ControlInstance StaticText5 Inherits Label
End Control
Control StaticText6 Inherits Label
ControlInstance StaticText6 Inherits Label
End Control
Control StaticText7 Inherits Label
ControlInstance StaticText7 Inherits Label
End Control
Control StaticText8 Inherits Label
ControlInstance StaticText8 Inherits Label
End Control
Control StaticText9 Inherits Label
ControlInstance StaticText9 Inherits Label
End Control
Control StaticText10 Inherits Label
ControlInstance StaticText10 Inherits Label
End Control
Control ListBox1 Inherits ListBox
ControlInstance ListBox1 Inherits ListBox
End Control
EventHandler Sub Open() dim i,count as integer dim c as new CURLSMBS StaticText1.text=c.LibVersion dim v as CURLSVersionMBS = c.Version if v<>nil then StaticText2.text=v.Version StaticText3.text=v.Host StaticText4.text=v.SSLVersion StaticText5.text=v.LibZVersion count=v.ProtocolCount-1 for i=0 to count ListBox1.AddRow v.Protocol(i) next ListBox1.AddRow "Supports async DNS: "+yesno(v.SupportsASYNCHDNS) ListBox1.AddRow "Supports GSS negotiate: "+yesno(v.SupportsGSSNEGOTIATE) ListBox1.AddRow "Supports IDN: "+yesno(v.SupportsIDN) ListBox1.AddRow "Supports IPv6: "+yesno(v.SupportsIPV6) ListBox1.AddRow "Supports Kerberos 4: "+yesno(v.SupportsKERBEROS4) ListBox1.AddRow "Supports large files: "+yesno(v.SupportsLARGEFILE) ListBox1.AddRow "Supports LibZ: "+yesno(v.SupportsLIBZ) ListBox1.AddRow "Supports NTLM: "+yesno(v.SupportsNTLM) ListBox1.AddRow "Supports SPNEGO: "+yesno(v.SupportsSPNEGO) ListBox1.AddRow "Supports SSL: "+yesno(v.SupportsSSL) ListBox1.AddRow "Supports SSPI: "+yesno(v.SupportsSSPI) end if End EventHandler
Protected Function yesno(b as Boolean) As string if b then Return "yes" Return "no" End Function
End Class
MenuBar MenuBar1
MenuItem UntitledMenu1 = ""
MenuItem FileMenu = "&File"
MenuItem FileQuit = "Quit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu0 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS CURL Plugin.

MBS Xojo Chart Plugins