## Vanara.PInvoke.IScsiDsc  
PInvoke API (methods, structures and constants) imported from Windows ISCSI Discovery Library (IScsiDsc.dll).

- Includes methods from iscsidsc.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.IScsiDsc?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.IScsiDsc?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.IScsiDsc)  
### Methods - 84% API coverage (38 of 45 functions)  
Native Method | Header | Managed Method  
--- | --- | ---  
[AddIScsiConnection](https://www.google.com/search?num=5&q=AddIScsiConnectionA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.AddIScsiConnection](https://github.com/dahall/Vanara/search?l=C%23&q=AddIScsiConnection)  
[AddIScsiSendTargetPortal](https://www.google.com/search?num=5&q=AddIScsiSendTargetPortalA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.AddIScsiSendTargetPortal](https://github.com/dahall/Vanara/search?l=C%23&q=AddIScsiSendTargetPortal)  
[AddIScsiStaticTarget](https://www.google.com/search?num=5&q=AddIScsiStaticTargetA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.AddIScsiStaticTarget](https://github.com/dahall/Vanara/search?l=C%23&q=AddIScsiStaticTarget)  
[AddISNSServer](https://www.google.com/search?num=5&q=AddISNSServerA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.AddISNSServer](https://github.com/dahall/Vanara/search?l=C%23&q=AddISNSServer)  
[AddPersistentIScsiDevice](https://www.google.com/search?num=5&q=AddPersistentIScsiDeviceA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.AddPersistentIScsiDevice](https://github.com/dahall/Vanara/search?l=C%23&q=AddPersistentIScsiDevice)  
[AddRadiusServer](https://www.google.com/search?num=5&q=AddRadiusServerA+site%3Adocs.microsoft.com) |  |   
[ClearPersistentIScsiDevices](https://www.google.com/search?num=5&q=ClearPersistentIScsiDevices+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ClearPersistentIScsiDevices](https://github.com/dahall/Vanara/search?l=C%23&q=ClearPersistentIScsiDevices)  
[GetDevicesForIScsiSession](https://www.google.com/search?num=5&q=GetDevicesForIScsiSessionA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.GetDevicesForIScsiSession](https://github.com/dahall/Vanara/search?l=C%23&q=GetDevicesForIScsiSession)  
[GetIScsiIKEInfo](https://www.google.com/search?num=5&q=GetIScsiIKEInfoA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.GetIScsiIKEInfo](https://github.com/dahall/Vanara/search?l=C%23&q=GetIScsiIKEInfo)  
[GetIScsiInitiatorNodeName](https://www.google.com/search?num=5&q=GetIScsiInitiatorNodeNameA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.GetIScsiInitiatorNodeName](https://github.com/dahall/Vanara/search?l=C%23&q=GetIScsiInitiatorNodeName)  
[GetIScsiSessionList](https://www.google.com/search?num=5&q=GetIScsiSessionListA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.GetIScsiSessionList](https://github.com/dahall/Vanara/search?l=C%23&q=GetIScsiSessionList)  
[GetIScsiTargetInformation](https://www.google.com/search?num=5&q=GetIScsiTargetInformationA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.GetIScsiTargetInformation](https://github.com/dahall/Vanara/search?l=C%23&q=GetIScsiTargetInformation)  
[GetIScsiVersionInformation](https://www.google.com/search?num=5&q=GetIScsiVersionInformation+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.GetIScsiVersionInformation](https://github.com/dahall/Vanara/search?l=C%23&q=GetIScsiVersionInformation)  
[LoginIScsiTarget](https://www.google.com/search?num=5&q=LoginIScsiTargetA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.LoginIScsiTarget](https://github.com/dahall/Vanara/search?l=C%23&q=LoginIScsiTarget)  
[LogoutIScsiTarget](https://www.google.com/search?num=5&q=LogoutIScsiTarget+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.LogoutIScsiTarget](https://github.com/dahall/Vanara/search?l=C%23&q=LogoutIScsiTarget)  
[RefreshIScsiSendTargetPortal](https://www.google.com/search?num=5&q=RefreshIScsiSendTargetPortalA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RefreshIScsiSendTargetPortal](https://github.com/dahall/Vanara/search?l=C%23&q=RefreshIScsiSendTargetPortal)  
[RefreshISNSServer](https://www.google.com/search?num=5&q=RefreshISNSServerA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RefreshISNSServer](https://github.com/dahall/Vanara/search?l=C%23&q=RefreshISNSServer)  
[RemoveIScsiConnection](https://www.google.com/search?num=5&q=RemoveIScsiConnection+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RemoveIScsiConnection](https://github.com/dahall/Vanara/search?l=C%23&q=RemoveIScsiConnection)  
[RemoveIScsiPersistentTarget](https://www.google.com/search?num=5&q=RemoveIScsiPersistentTargetA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RemoveIScsiPersistentTarget](https://github.com/dahall/Vanara/search?l=C%23&q=RemoveIScsiPersistentTarget)  
[RemoveIScsiSendTargetPortal](https://www.google.com/search?num=5&q=RemoveIScsiSendTargetPortalA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RemoveIScsiSendTargetPortal](https://github.com/dahall/Vanara/search?l=C%23&q=RemoveIScsiSendTargetPortal)  
[RemoveIScsiStaticTarget](https://www.google.com/search?num=5&q=RemoveIScsiStaticTargetA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RemoveIScsiStaticTarget](https://github.com/dahall/Vanara/search?l=C%23&q=RemoveIScsiStaticTarget)  
[RemoveISNSServer](https://www.google.com/search?num=5&q=RemoveISNSServerA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RemoveISNSServer](https://github.com/dahall/Vanara/search?l=C%23&q=RemoveISNSServer)  
[RemovePersistentIScsiDevice](https://www.google.com/search?num=5&q=RemovePersistentIScsiDeviceA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.RemovePersistentIScsiDevice](https://github.com/dahall/Vanara/search?l=C%23&q=RemovePersistentIScsiDevice)  
[RemoveRadiusServer](https://www.google.com/search?num=5&q=RemoveRadiusServerA+site%3Adocs.microsoft.com) |  |   
[ReportActiveIScsiTargetMappings](https://www.google.com/search?num=5&q=ReportActiveIScsiTargetMappingsA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ReportActiveIScsiTargetMappings](https://github.com/dahall/Vanara/search?l=C%23&q=ReportActiveIScsiTargetMappings)  
[ReportIScsiInitiatorList](https://www.google.com/search?num=5&q=ReportIScsiInitiatorListA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ReportIScsiInitiatorList](https://github.com/dahall/Vanara/search?l=C%23&q=ReportIScsiInitiatorList)  
[ReportIScsiPersistentLogins](https://www.google.com/search?num=5&q=ReportIScsiPersistentLoginsA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ReportIScsiPersistentLogins](https://github.com/dahall/Vanara/search?l=C%23&q=ReportIScsiPersistentLogins)  
[ReportIScsiSendTargetPortals](https://www.google.com/search?num=5&q=ReportIScsiSendTargetPortalsA+site%3Adocs.microsoft.com) |  |   
[ReportIScsiSendTargetPortalsEx](https://www.google.com/search?num=5&q=ReportIScsiSendTargetPortalsExA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ReportIScsiSendTargetPortalsEx](https://github.com/dahall/Vanara/search?l=C%23&q=ReportIScsiSendTargetPortalsEx)  
[ReportIScsiTargetPortals](https://www.google.com/search?num=5&q=ReportIScsiTargetPortalsA+site%3Adocs.microsoft.com) |  |   
[ReportIScsiTargets](https://www.google.com/search?num=5&q=ReportIScsiTargetsA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ReportIScsiTargets](https://github.com/dahall/Vanara/search?l=C%23&q=ReportIScsiTargets)  
[ReportISNSServerList](https://www.google.com/search?num=5&q=ReportISNSServerListA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ReportISNSServerList](https://github.com/dahall/Vanara/search?l=C%23&q=ReportISNSServerList)  
[ReportPersistentIScsiDevices](https://www.google.com/search?num=5&q=ReportPersistentIScsiDevicesA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ReportPersistentIScsiDevices](https://github.com/dahall/Vanara/search?l=C%23&q=ReportPersistentIScsiDevices)  
[ReportRadiusServerList](https://www.google.com/search?num=5&q=ReportRadiusServerListA+site%3Adocs.microsoft.com) |  |   
[SendScsiInquiry](https://www.google.com/search?num=5&q=SendScsiInquiry+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SendScsiInquiry](https://github.com/dahall/Vanara/search?l=C%23&q=SendScsiInquiry)  
[SendScsiReadCapacity](https://www.google.com/search?num=5&q=SendScsiReadCapacity+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SendScsiReadCapacity](https://github.com/dahall/Vanara/search?l=C%23&q=SendScsiReadCapacity)  
[SendScsiReportLuns](https://www.google.com/search?num=5&q=SendScsiReportLuns+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SendScsiReportLuns](https://github.com/dahall/Vanara/search?l=C%23&q=SendScsiReportLuns)  
[SetIScsiGroupPresharedKey](https://www.google.com/search?num=5&q=SetIScsiGroupPresharedKey+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SetIScsiGroupPresharedKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetIScsiGroupPresharedKey)  
[SetIScsiIKEInfo](https://www.google.com/search?num=5&q=SetIScsiIKEInfoA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SetIScsiIKEInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SetIScsiIKEInfo)  
[SetIScsiInitiatorCHAPSharedSecret](https://www.google.com/search?num=5&q=SetIScsiInitiatorCHAPSharedSecret+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SetIScsiInitiatorCHAPSharedSecret](https://github.com/dahall/Vanara/search?l=C%23&q=SetIScsiInitiatorCHAPSharedSecret)  
[SetIScsiInitiatorNodeName](https://www.google.com/search?num=5&q=SetIScsiInitiatorNodeNameA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SetIScsiInitiatorNodeName](https://github.com/dahall/Vanara/search?l=C%23&q=SetIScsiInitiatorNodeName)  
[SetIScsiInitiatorRADIUSSharedSecret](https://www.google.com/search?num=5&q=SetIScsiInitiatorRADIUSSharedSecret+site%3Adocs.microsoft.com) |  |   
[SetIScsiTunnelModeOuterAddress](https://www.google.com/search?num=5&q=SetIScsiTunnelModeOuterAddressA+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SetIScsiTunnelModeOuterAddress](https://github.com/dahall/Vanara/search?l=C%23&q=SetIScsiTunnelModeOuterAddress)  
[SetupPersistentIScsiDevices](https://www.google.com/search?num=5&q=SetupPersistentIScsiDevices+site%3Adocs.microsoft.com) |  |   
[SetupPersistentIScsiVolumes](https://www.google.com/search?num=5&q=SetupPersistentIScsiVolumes+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SetupPersistentIScsiVolumes](https://github.com/dahall/Vanara/search?l=C%23&q=SetupPersistentIScsiVolumes)  
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[IKE_AUTHENTICATION_INFORMATION](https://www.google.com/search?num=5&q=IKE_AUTHENTICATION_INFORMATION+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.IKE_AUTHENTICATION_INFORMATION](https://github.com/dahall/Vanara/search?l=C%23&q=IKE_AUTHENTICATION_INFORMATION)  
[IKE_AUTHENTICATION_PRESHARED_KEY](https://www.google.com/search?num=5&q=IKE_AUTHENTICATION_PRESHARED_KEY+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.IKE_AUTHENTICATION_PRESHARED_KEY](https://github.com/dahall/Vanara/search?l=C%23&q=IKE_AUTHENTICATION_PRESHARED_KEY)  
[ISCSI_CONNECTION_INFO](https://www.google.com/search?num=5&q=ISCSI_CONNECTION_INFO+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_CONNECTION_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_CONNECTION_INFO)  
[ISCSI_DEVICE_ON_SESSION](https://www.google.com/search?num=5&q=ISCSI_DEVICE_ON_SESSION+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_DEVICE_ON_SESSION](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_DEVICE_ON_SESSION)  
[ISCSI_LOGIN_OPTIONS](https://www.google.com/search?num=5&q=ISCSI_LOGIN_OPTIONS+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_LOGIN_OPTIONS](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_LOGIN_OPTIONS)  
[ISCSI_SESSION_INFO](https://www.google.com/search?num=5&q=ISCSI_SESSION_INFO+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_SESSION_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_SESSION_INFO)  
[ISCSI_TARGET_MAPPING](https://www.google.com/search?num=5&q=ISCSI_TARGET_MAPPING+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_TARGET_MAPPING](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_TARGET_MAPPING)  
[ISCSI_TARGET_PORTAL](https://www.google.com/search?num=5&q=ISCSI_TARGET_PORTAL+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_TARGET_PORTAL](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_TARGET_PORTAL)  
[ISCSI_TARGET_PORTAL_GROUP](https://www.google.com/search?num=5&q=ISCSI_TARGET_PORTAL_GROUP+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_TARGET_PORTAL_GROUP](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_TARGET_PORTAL_GROUP)  
[ISCSI_TARGET_PORTAL_INFO_EX](https://www.google.com/search?num=5&q=ISCSI_TARGET_PORTAL_INFO_EX+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_TARGET_PORTAL_INFO_EX](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_TARGET_PORTAL_INFO_EX)  
[ISCSI_UNIQUE_SESSION_ID](https://www.google.com/search?num=5&q=ISCSI_UNIQUE_SESSION_ID+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_UNIQUE_SESSION_ID](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_UNIQUE_SESSION_ID)  
[ISCSI_VERSION_INFO](https://www.google.com/search?num=5&q=ISCSI_VERSION_INFO+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.ISCSI_VERSION_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=ISCSI_VERSION_INFO)  
[PERSISTENT_ISCSI_LOGIN_INFO](https://www.google.com/search?num=5&q=PERSISTENT_ISCSI_LOGIN_INFO+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.PERSISTENT_ISCSI_LOGIN_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=PERSISTENT_ISCSI_LOGIN_INFO)  
[SCSI_ADDRESS](https://www.google.com/search?num=5&q=SCSI_ADDRESS+site%3Adocs.microsoft.com) | ntddscsi.h | [Vanara.PInvoke.IScsiDsc.SCSI_ADDRESS](https://github.com/dahall/Vanara/search?l=C%23&q=SCSI_ADDRESS)  
[SCSI_LUN_LIST](https://www.google.com/search?num=5&q=SCSI_LUN_LIST+site%3Adocs.microsoft.com) | iscsidsc.h | [Vanara.PInvoke.IScsiDsc.SCSI_LUN_LIST](https://github.com/dahall/Vanara/search?l=C%23&q=SCSI_LUN_LIST)  
[STORAGE_DEVICE_NUMBER](https://www.google.com/search?num=5&q=STORAGE_DEVICE_NUMBER+site%3Adocs.microsoft.com) | winioctl.h | [Vanara.PInvoke.IScsiDsc.STORAGE_DEVICE_NUMBER](https://github.com/dahall/Vanara/search?l=C%23&q=STORAGE_DEVICE_NUMBER)  
