View previous topic :: View next topic |
Author |
Message |
Orgbrat
Joined: 15 Sep 2007 Posts: 15
|
Posted: Fri Apr 17, 2009 4:22 pm Post subject: Using Custom Generator with IPN.NET |
|
|
I am including my ILS source code in my IPN.Net App_Code folder so I want have to reference the ILS assembly and I need use the same CustomGenerator class that I use in the License Tracker CustomGenerator assembly to generate my keys. Can I add that CustomGenerator class into that code folder and the IPN server be able to use it during key generation?
Orgbrat _________________ Steve Graddy MCP, MCPS, MCNPS, MCAD
Orgbrat Consulting ( Microsoft Certified Partner )
orgbrat@orgbrat.com |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Apr 17, 2009 10:36 pm Post subject: |
|
|
I assume that should read:
Quote: | so I won't have to reference the ILS assembly |
Quote: | Can I add that CustomGenerator class into that code folder and the IPN server be able to use it during key generation? |
Yes that should work. You would need to set the CustomGenerator property in the IpnSettings file to point at the IPN assembly eg
<CustomGenerator>CustomGenerator.MyGenerator, IPN</CustomGenerator>
Where CustomGenerator.MyGenerator is the fully qualified class name of the custom generator. _________________ Infralution Support |
|
Back to top |
|
|
|