
:breadcrumbs: <a href="../../index.html">Home</a> / <a href="../../index.html#starter-kits">Starter Kits</a> / <a href="../../Kits/HardwareHacking/HardwareHacking.html">Starter Kit: Hardware Hacking</a> / Control Remote Mains Switches using Visual Basic .NET

.. |ref_set_monoflop| replace:: :vbnet:func:`SetMonoflop() <BrickletIndustrialQuadRelay.SetMonoflop>`
.. |bitmask_02| replace:: ``(1 << 0) | (1 << 2)``

.. _starter_kit_hardware_hacking_remote_switch_vbnet:

Control Remote Mains Switches using Visual Basic .NET
=====================================================

.. include:: VBNETCommon.substitutions
   :start-after: >>>intro
   :end-before: <<<intro

.. include:: RemoteSwitch.substitutions
   :start-after: >>>intro
   :end-before: <<<intro

Goals
-----

.. include:: RemoteSwitch.substitutions
   :start-after: >>>goals
   :end-before: <<<goals

Source Code
-----------

`Download <https://raw.githubusercontent.com/Tinkerforge/hardware-hacking/master/remote_switch/vbnet/RemoteSwitch.vb>`__

.. literalinclude:: ../../../../../hardware-hacking/remote_switch/vbnet/RemoteSwitch.vb
 :language: vbnet
 :tab-width: 4
