HS Banner
HS Codebank Articles
Page 1 of 3

Use Sockets to send and receive data over TCP 05/07/2023

Description:

When working with System.Net.Sockets, you represent a network endpoint as an IPEndPoint object. The IPEndPoint is constructed with an IPAddress and its corresponding port number. Before you can initiate a conversation through a Socket, you create a data pipe between your app and the remote destination.

Author: Admin
Language: C#
Tags: sockets send receive tcp cs
Read More

PHP Speller 03/26/2023

Description:

PHP spell check library.

Author: Admin
Language: PHP
Tags: php spell check
Read More

Delete a File with C# 03/13/2023

Description:

This is how to delete a file and check whether it exists.

Author: Admin
Language: C#
Tags: cs delete file
Read More



Scan Your Website Headers 02/12/2022

Description:

Here's a great site to scan the security headers for your website.

Author: Guitarman
Language: Plain Text
Tags: headers security
Read More

Web Application Penetration Testing 01/29/2022

Description:

Penetration testing or ethical hacking is a proactive way of testing your web applications by simulating an attack that's similar to a real attack that could occur on any given day.

Author: Admin
Language: Plain Text
Tags: penetration testing kali linux
Read More

Example of .htaccess for PHP 10/06/2021

Description:

A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, used for configuration of website-access issues, such as URL redirection, URL shortening, access control (for different web pages and files), and more. The 'dot' (period or full stop) before the file name makes it a hidden file in Unix-based environments.

Author: Admin
Language: HTTP
Tags: html .htaccess php
Read More

Send/Export DevExpress Reports to PDF 08/11/2021

Description:

How to dynamically send a DevExpress report via e-mail as a PDF

Author: Admin
Language: C#
Tags:
Read More



Write Coils Using Modbus 06/12/2021

Description:

Write coils using the FieldTalk Modbus Master Library.

Author: Admin
Language: C#
Tags:
Read More

Read Multiple Coils Using Modbus 06/06/2021

Description:

Read multiple coils using the FieldTalk Modbus Master Library.

Author: Admin
Language: C#
Tags:
Read More

Write Multiple Registers Using Modbus 06/02/2021

Description:

Write multiple registers using the FieldTalk Modbus Master Library.

Author: Admin
Language: C#
Tags:
Read More

Submit Your Code

If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.
LoginRegisterContact Us

List of Supported Languages
Apache Config
Bash
C
C#
C++
CoffeeScript
CSS
Diff
GO
HTML, XML
HTTP
Java
JavaScript
JSON
Kotlin
Less
Lua
Makefile
Markdown
Nginx Config
NSIS
Objective-C
Perl
PHP
Plain Text
PowerShell
Properties
Python
Python REPL
R
Ruby
Rust
SCSS
Shell Session
SQL
Swift
TOML, also INI
TypeScript
VB Script
Visual Basic .NET
YAML
Request New Language