This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject
  • RSA.com
  • Home
  • Advisories
    • SecurID
    • SecurID Governance & Lifecycle
  • Documentation
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID App
      • SecurID Authenticator for macOS
      • SecurID SDK
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
    • Technology Partners
  • Downloads
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID Authenticator for macOS
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
  • Community
    • SecurID
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
    • SecurID Governance & Lifecycle
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Ideas & Suggestions
      • Community Support Articles
      • Community Support Forum
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Education
    • Blog
    • Browse Courses
      • SecurID
      • SecurID Governance & Lifecycle
    • Certification Program
    • New Product Readiness
    • Student Resources
Sign In Register Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
Announcements

SecurID® Discussions

Browse the SecurID discussion board to get product help and collaborate with other SecurID users.
  • SecurID Community
  • :
  • Products
  • :
  • SecurID
  • :
  • Discussions
  • :
  • RSA SecurID .NET API for web services
  • Options
    • Subscribe to RSS Feed
    • Mark Topic as New
    • Mark Topic as Read
    • Float this Topic for Current User
    • Bookmark
    • Subscribe
    • Mute
    • Printer Friendly Page
AliTariq
AliTariq Beginner
Beginner
‎2016-01-04 12:25 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

RSA SecurID .NET API for web services

Jump to solution

Hi,

 

We are developing a web portal and need to integrate it with RSA SecurID for authentication. For this our development team needs an API for .NET, i have searched the RSA Knowledge Base and found only C and JAVA API's.

 

Can anyone share the API for .NET (C#).

 

Thank you.

Labels (1)
Labels
  • Labels:
  • Agents

  • Tags:
  • .net
  • Agent
  • Agents
  • AM
  • asp
  • asp .net
  • aspx
  • Auth Agent
  • Auth Manager
  • Authentication Agent
  • Authentication Manager
  • c api
  • Community Thread
  • Discussion
  • Forum Thread
  • RSA SecurID
  • RSA SecurID Access
  • SecurID
  • web-services
0 Likes
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
1 Solution

Accepted Solutions
OliverYu
Employee OliverYu
Employee
‎2016-01-06 04:49 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Jump to solution

Hi Ali,

 

You can just use the C API.

 

Simply by 2 steps,

1. Import the C Dll

2. Declare the method stubs

 

Here's a quick example:

http://stackoverflow.com/questions/5664737/calling-c-dll-from-c-sharp

 

Regards,

Oliver

View solution in original post

2 Likes
Share
Reply
4 Replies
SubbuDevulapall
SubbuDevulapall Beginner
Beginner
‎2016-01-05 10:23 PM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Jump to solution

Hi Ali,

 

Please talk to Support team about this. You might be able to use AMIS to make REST calls from your .NET app.

 

 

Regards,

Subbu

0 Likes
Share
Reply
OliverYu
Employee OliverYu
Employee
‎2016-01-06 04:49 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Jump to solution

Hi Ali,

 

You can just use the C API.

 

Simply by 2 steps,

1. Import the C Dll

2. Declare the method stubs

 

Here's a quick example:

http://stackoverflow.com/questions/5664737/calling-c-dll-from-c-sharp

 

Regards,

Oliver

2 Likes
Share
Reply
HtutNayLinn
HtutNayLinn Beginner
Beginner
In response to OliverYu
‎2017-01-24 04:19 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Jump to solution

Hi Oliver,

@oliver

 

I am browsing through RSA AuthSDK_C_v8.6.0_75.06_03_16_13_30_14.

Which dll exactly we need to import into C# application to declare method Sub?

 

Regards,

Nay Linn

0 Likes
Share
Reply
OliverYu
Employee OliverYu
Employee
In response to HtutNayLinn
‎2017-01-24 04:38 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Jump to solution

Here's a quick example for your reference. (developed by another RSA expert)

[Visual Basic]
Imports System
Imports System.Text
Imports System.Diagnostics
Imports Microsoft.VisualBasic
Imports System.Runtime.InteropServices

Module Module1
    REM Holds pin limits and related values
    <StructLayout(LayoutKind.Sequential)> _
    Structure SD_PIN_STRUCT
        Public Min As Byte
        Public Max As Byte
        Public Selectable As Byte
        Public Alphanumeric As Byte
        <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=9)> _
        Public System As String
    End Structure

    REM initialization and shutdown calls
    Declare Ansi Function AceInitialize _
        Lib "aceclnt" Alias "AceInitialize" () As Integer

    REM New Synchronous and thread-safe calls
    Declare Ansi Function SD_Init _
        Lib "aceclnt" Alias "SD_Init" (ByRef SdiHandle As Integer) As Integer
    Declare Ansi Function SD_Lock _
        ' note the .DLL suffix is assumed by VB
        Lib "aceclnt" Alias "SD_Lock" (ByVal SdiHandle As Integer, _
        ByVal userID As String) As Integer
    Declare Ansi Function SD_Check _
        ' the suffix is allowed, VB knows what is intended
        Lib "aceclnt.dll" Alias "SD_Check" (ByVal SdiHandle As Integer, _
        ByVal passcode As String, _
        ByVal userID As String) As Integer
    Declare Ansi Function SD_Pin _
        Lib "aceclnt.dll" Alias "SD_Pin" (ByVal SdiHandle As Integer, _
        ByVal pin As String) As Integer
    Declare Ansi Function SD_Close _
        Lib "aceclnt.dll" Alias "SD_Close" (ByVal SdiHandle As Integer) As Integer

    Const ACM_NEW_PIN_REQUIRED = 5

    Sub Main()
        Dim SdiHandle As Integer = 0
        Dim userid As String
        Dim passcode As String
        Dim res As Integer
        Dim val As SD_PIN_STRUCT
        val = New SD_PIN_STRUCT
        val.Min = 0
        val.Max = 0
        val.Alphanumeric = 0
        val.Selectable = 0

        Dim buffer As StringBuilder
        buffer = New StringBuilder(9)
        val.System = buffer.ToString()

        userid = "jdoe"
        passcode = "1234"

        AceInitialize()
        res = SD_Init(SdiHandle)
        res = SD_Lock(SdiHandle, userid)
        res = SD_Check(SdiHandle, passcode, userid)
        If (res = ACM_NEW_PIN_REQUIRED) Then
            res = AceGetPinParams(SdiHandle, val)
            System.Console.WriteLine("Min size = {0}", val.Min)
            System.Console.WriteLine("Max size = {0}", val.Max)
            System.Console.WriteLine("Selectable = {0}", val.Selectable)
            System.Console.WriteLine("Alphanumeric = {0}", val.Alphanumeric)
            System.Console.WriteLine("System generated = {0}", val.System)
        End If
        SD_Close(SdiHandle)
    End Sub
End Module
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
0 Likes
Share
Reply
Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • Customer Success
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Provide Feedback
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.