Click here to Skip to main content
15,886,741 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read a row from dataGrid Pin
Mazdak7-Jan-04 5:18
Mazdak7-Jan-04 5:18 
GeneralRe: Read a row from dataGrid Pin
KevinMac7-Jan-04 5:33
KevinMac7-Jan-04 5:33 
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 
Okay, first of all - don't use the LicFileLicenseProvider class unless you use file contents that can't be changed or produced by a user; see my article at http://www.codeproject.com/dotnet/xmldsiglic.asp[^] for a good way to do this.

Otherwise - like most commercial library companies do - derive from LicenseProvider and create your own provider that stores keys in the registry, validates over the Internet, or something that isn't easy to crack (everything can be cracked , it's only a matter of cost-benefits analysis comparing the worth of the data to be cracked vs. the cost of the resources to crack it).

As far as the files that are generated go, VS.NET automatically creates a .licx file. This simply has the fully-qualified type names of licensed components. You can - and VS.NET does during compilation - run lc.exe on that file to generates a valid .licenses file that must be named the same as the assembly (replacing .dll with .licenses, of course) and added as an embedded resource (using the /res param in csc.exe).

 

-----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 4:18
Den2Fly7-Jan-04 4:18 
GeneralRe: Licensing Pin
Heath Stewart7-Jan-04 4:53
protectorHeath Stewart7-Jan-04 4:53 
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 

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.