var conn = new Conexion("ldap://example.com"); conn.Autenticar("username", "password"); // Begin a transaction conn.IniciarTransaccion(); // Make some changes to the directory ... // Undo the changes made during this transaction conn.DeshacerTransaccion();In this example, we create a new `Conexion` instance pointing to an LDAP server at `ldap://example.com`. We then authenticate with the server using a username and password. Next, we begin a transaction by calling the `IniciarTransaccion` method. Within the transaction, we make some changes to the directory (which are not shown in the code). Finally, we call `DeshacerTransaccion` to undo any changes made during this transaction. This is useful if we need to discard changes made during a partially-completed operation. Overall, the Brainsbits.LDA package library offers a range of useful functions for working with LDAP directories in C#. The `Conexion` class is a key part of this package, providing an easy way to authenticate, connect, and interact with LDAP servers.