Features

Discover the powerful features that make the ValaCode SDK the ultimate tool for cross platform software developers

Core
Essential Cross Platform Library
Array
Dedupe string array
Merge string arrays
Sort string array
Base64
Encode string to base64 string
Encode byte array to base64 string
Decode base64 string to string
Decode base64 string to byte array
Certificate
Read a pem file
Read a pem file from a string
Check if a certificate is valid
Check if a certificate is valid using a CRL
Check if a certificate was/is valid on a date
Show certificate valid from and valid to dates
Show certificate hostname subject
Show certificate email subject (if present)
Show certificate fingerprint
Command
Encode string to base64 string
Encode byte array to base64 string
Decode base64 string to string
Decode base64 string to byte array
Data Types
DataValue - Single type supporting values, arrays and collections
KeyValuePair - Type containing a key and a value
File
Copy file
Copy file without following symbolic links
Copy a directory (recursively)
Create a directory
Check if a file exists
Check if a path is a file or a directory
Delete a directory
Delete a file
List directory contents (supports filtering)
Move a file
Parse an ini file to array of settings
Read a text file
Rename a file
Write a string to a text file
Locale
Return the system date format
Resources
List resources within a path as an array
List resources within a path as a tree
System
Return system hostname
Return OS type
Return OS version
Return desktop environment
Data
SQLite database handling
Create records
Read (query) records
Update records
Delete records
Create a new database
Create a table
Check if tables exist
List the database schema; tables and columns
Encrypt
Data encryption & hashing functionality
Encrypt data using AES256
Decrypt data using AES256
Create a SHA256 hash
JSON
Handle JSON
Read JSON formatted string and convert to HashMap
Read JSON formatted string and convert to HashMap array
Create a JSON object from a HashMap
Create a HashMap from a JSON object
Create a JSON formatted string from a HashMap
Create a JSON formatted string from a HashMap array
Net
Network functions; DNS lookups
Lookup A records
Lookup MX records
Lookup SRV records
Lookup TXT records
Terminal
Extended GTK Terminal Widget
Run a command within the widget
Run default shell within the widget
Set text colour and background colour
Set terminal font
Add additional environment variables
Notification on process completion
Copy and paste with native shortcuts
Web Client
HTTP Client Functions
Connect to HTTP server
Connect to HTTPS server 
Connect using GET request
Connect using POST request
Send URL parameters (GET)
Send using Form Data (POST request)
Cookie support
Custom User Agent support
Windows Interop
Functionality specifically for Microsoft Windows
Run a command
Get environment variables
Get accent colour
Get light/dark preference
Get date format
Completion
Keyword, Completion and Diagnostics
Bash
Keywords for syntax highlighting
Meson
Keywords for syntax highlighting
PackageKit
Keywords for syntax highlighting
Vala
Keywords for syntax highlighting
Parse libraries for autocompletion data
Parse source files for autocompletion data
Parse source files for warnings and errors
Parse source files for object locations