2 writes to ldctl_value
System.DirectoryServices.Protocols (2)
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (2)
1214
managedControls[i].
ldctl_value
= new BerVal
1222
managedControls[i].
ldctl_value
= new BerVal
17 references to ldctl_value
System.DirectoryServices.Protocols (17)
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (11)
794
if (managedServerControls[i].
ldctl_value
!= null)
796
if (managedServerControls[i].
ldctl_value
.bv_val != IntPtr.Zero)
798
Marshal.FreeHGlobal(managedServerControls[i].
ldctl_value
.bv_val);
828
if (managedClientControls[i].
ldctl_value
!= null)
830
if (managedClientControls[i].
ldctl_value
.bv_val != IntPtr.Zero)
832
Marshal.FreeHGlobal(managedClientControls[i].
ldctl_value
.bv_val);
1227
Marshal.Copy(byteControlValue, 0, managedControls[i].
ldctl_value
.bv_val, (int)managedControls[i].
ldctl_value
.bv_len.Value);
1924
byte[] bytes = new byte[control.
ldctl_value
.bv_len.Value];
1925
Marshal.Copy(control.
ldctl_value
.bv_val, bytes, 0, (int)control.
ldctl_value
.bv_len.Value);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (6)
694
if (managedServerControls[i].
ldctl_value
!= null)
696
if (managedServerControls[i].
ldctl_value
.bv_val != IntPtr.Zero)
698
Marshal.FreeHGlobal(managedServerControls[i].
ldctl_value
.bv_val);
728
if (managedClientControls[i].
ldctl_value
!= null)
730
if (managedClientControls[i].
ldctl_value
.bv_val != IntPtr.Zero)
731
Marshal.FreeHGlobal(managedClientControls[i].
ldctl_value
.bv_val);