Click here to Skip to main content
15,885,653 members
Home / Discussions / C#
   

C#

 
GeneralDirectX HELL Pin
thomasa7-Jan-04 3:13
thomasa7-Jan-04 3:13 
GeneralRe: DirectX HELL Pin
Stephane Rodriguez.7-Jan-04 3:29
Stephane Rodriguez.7-Jan-04 3:29 
GeneralRe: DirectX HELL Pin
Heath Stewart7-Jan-04 3:31
protectorHeath Stewart7-Jan-04 3:31 
GeneralRe: DirectX HELL fixed Pin
thomasa7-Jan-04 23:40
thomasa7-Jan-04 23:40 
GeneralLicensing Pin
Den2Fly7-Jan-04 2:52
Den2Fly7-Jan-04 2:52 
GeneralRe: Licensing Pin
Heath Stewart7-Jan-04 3:21
protectorHeath Stewart7-Jan-04 3:21 
GeneralRe: Licensing Pin
Den2Fly7-Jan-04 4:18
Den2Fly7-Jan-04 4:18 
GeneralRe: Licensing Pin
Heath Stewart7-Jan-04 4:53
protectorHeath Stewart7-Jan-04 4:53 
As I was inferring before, if you are using VS.NET you don't have to worry about the .licx and .licenses files. VS.NET takes care of all this automatically but the licensed component MUST be included in the .exe assembly because the CLR only looks for the valid .licenses files for licensed components in the application itself. Otherwise, developers could get a valid license for one component, wrap it in a library, and distribute it to other developers thereby circumventing the licensing requirement!

The .lic file is the file that the LicFileLicenseProvider looks for. If you derive your own class, you can have it look for any file you want, but that is the default convention for the base LicFileLicenseProvider class. You need to decide what contents to put into it. That's where my article would come in handy for you (it's not bullet proof and is only meant for conceptualization). This is the file that developers could register with you to receive. You override IsKeyValid to determine if 1) the file exists, and 2) if the contents are correct (if you use my article, you'd check the signature to determine that nothing's been changed then check the value(s) and see if they match the computer configuration, like the computer name as an example).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Licensing Pin
Den2Fly7-Jan-04 5:31
Den2Fly7-Jan-04 5:31 
GeneralRe: Licensing Pin
Mazdak7-Jan-04 5:26
Mazdak7-Jan-04 5:26 
GeneralRe: Licensing Pin
Heath Stewart7-Jan-04 6:50
protectorHeath Stewart7-Jan-04 6:50 
Generalidle Pin
Roger Alsing7-Jan-04 2:42
Roger Alsing7-Jan-04 2:42 
GeneralRe: idle Pin
Heath Stewart7-Jan-04 3:06
protectorHeath Stewart7-Jan-04 3:06 
GeneralTry-Catch performance cost Pin
Den2Fly7-Jan-04 1:06
Den2Fly7-Jan-04 1:06 
GeneralRe: Try-Catch performance cost Pin
Roger Alsing7-Jan-04 2:47
Roger Alsing7-Jan-04 2:47 
GeneralThank you so much -nt Pin
Den2Fly7-Jan-04 3:52
Den2Fly7-Jan-04 3:52 
GeneralRe: Try-Catch performance cost Pin
leppie7-Jan-04 6:10
leppie7-Jan-04 6:10 
GeneralRe: Try-Catch performance cost Pin
TuringTest17-Jan-04 20:48
TuringTest17-Jan-04 20:48 
GeneralRe: Try-Catch performance cost Pin
leppie8-Jan-04 6:04
leppie8-Jan-04 6:04 
GeneralDetecting computers on a LAN Pin
Radoslav Bielik7-Jan-04 0:57
Radoslav Bielik7-Jan-04 0:57 
GeneralRe: Detecting computers on a LAN Pin
Mazdak7-Jan-04 1:46
Mazdak7-Jan-04 1:46 
GeneralRe: Detecting computers on a LAN Pin
Radoslav Bielik7-Jan-04 4:04
Radoslav Bielik7-Jan-04 4:04 
GeneralRe: Detecting computers on a LAN Pin
Mazdak7-Jan-04 5:12
Mazdak7-Jan-04 5:12 
GeneralRe: Detecting computers on a LAN Pin
Radoslav Bielik7-Jan-04 7:29
Radoslav Bielik7-Jan-04 7:29 
GeneralRe: Detecting computers on a LAN Pin
HAHAHA_NEXT7-Jan-04 7:45
HAHAHA_NEXT7-Jan-04 7:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.