How get info about computer app is running on?

I am making an application that will have a license for running on only one computer at a time. I will have a license file that will hold info about the app, its version, etc. But I also want to put info about the computer that it's being installed on (none of that info will be sent to me, just saved in the license - enrypted - so the license can't be used on a diff computer). I do NOT want the OS name and version (they can change that) but the actual computer info.
I know some C/C++ programs can do this, but is there any way to get this info from java? Does anyone have any sample code or even just suggestions of places to look for this information? It'd be greatly appreciated!
Thanks in advance!

I know it's not a perfect solution - yes someone could
decompile it, but how many people do that or know how
to do that? Well, most semi-decent Java programmers know how to do that. Then they'll decompile and crack it and distribute it, provided that your
program actually is something good.
While doing what I suggest wouldn't stop
100% of the users from pirating my software (which I'm
attempting to make a living off of), it would stop
MORE than if I didn't do it.Probably it'd annoy more potential customers. It's a very bad idea to piss off the customers.
As for changing the HD, or even the computer it's on,
that would be totally possible. The app is equipped
with a way to invalidate the license so it won't work
on that computer, and contact my site to invalidate
the public key and then allow them to redo it on
another computer/HD. It all would take only about 2
minutes actually, so it's not even an inconvenience.As a potential customer I'd have to disagree.
I see no problem with that.Yes, but you're the author not the customer.
Do you or anyone else know of a way to do this, even
if not through Java, in C (JNI) or C++?Through JNI it's possible naturally, but I don't know the specifics.
The reason
it's a big deal is this: for a company like MS if only
20% of the users of their product actually pay for the
product, they're still making millions. If only 20% of
the users paid for mine, I wouldn't even have enough
money to live for 3 months!Get a job? :) Sorry, but seriously having copy protection isn't really going to make a difference. If your product is really good it will get cracked, if it's a specialized piece of software that won't be circulating in the mainstream, then a simple license check would suffice.

Similar Messages

  • How to get info about the mobile, like screensize...

    hi,
    i need some info about the device my midlet is running on.
    how is it possible to get info about the screensize, screentype(color/black) and perhaps devicetype or modelname?
    i already read it somewhere but i didn't find the source again.
    tia
    mmkl

    thx,
    the example below shows some basic information.
    Display myDisplay = Display.getDisplay(this);
    Displayable dis = myDisplay.getCurrent();
    int high = dis.getHeight();
    int width = dis.getWidth();
    boolean isCol = myDisplay.isColor();       
    int nubCol = myDisplay.numColors();more detailed information about model, aren't available through the standard api, on blackberry's there some restricted apis that provide these device-type and other detailed information...
    for more basic information, just look at the class-methods from display and displayable...
    mmkl

  • How to get info about web service caller inside Web Service

    Hi..
    I want to know that can we get info about Web Service Caller inside called web service..
    Info Like IP Address, User Id, User Name
    Regards,
    Ajay Sharma

    Hi,
    I tested following code using JDevloper 11g
    @Resource 
        WebServiceContext wsc;
        @WebMethod
        public String webMethod() {
                    MessageContext msgCtxt = wsCtxt.getMessageContext();
            HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
            System.out.println("Client IP = " + req.getRemoteAddr());
            return req.getRemoteAddr();
        }It is giving me IP address but when i tested this web service from another computer there also it is giving my machine address instead of the machine IP from where the web service is called.
    What is wrong in my code ?
    Regards,
    Ajay
    Edited by: Ajay Sharma on Dec 31, 2012 1:06 PM

  • How can i get info. about sun systems in real life situation

    Hi
    infact i m not so experienced ? but i have got certification and nowadays i m improving myself and applying for jobs. please tell me how can i get info about the sun systems in real life situation. i mean that how can i get details like that mostly companies use which systems ? what is the trend of companies and how i can get detail of history of sun systems?
    Thanks in advance

    hmm.......... its very difficult to explain. an its more difficult simulate....well my suggession is to get in to some job with your present knowledge and try to learn more from there....

  • Get info About Interconnect in 10gR1 (10.1.0.4)

    Hallo,
    I need as much info as possible on cluster interconnect.
    I get info about OCR configuration for DATABASE cluster interconnect from
    $oifcfg getif
    and from Alert.log and querying X$KSXPIA.
    How can I get info about CLUSTERWARE cluster interconnect?
    Thanks

    ottocolori wrote:
    I need as much info as possible on cluster interconnect.By looking at the Interconnect from the o/s level. Oracle only uses the Interconnect at IP layer (via the standard Berkely socket interface). (assuming that CRS is not configured for using RDS* instead)
    It does not care what the Interconnect is.. or how it works.. or how it is configured. It deals with the Interconnect via the o/s kernel's IP stack API (i.e. sockets).
    If you want to look at the Interconnect layer itself, you need to do it from the o/s layer. Like using ethtool to configure or query the Interconnect interfaces. And using the s/w tools provided by the Interconnect layer. For example, Infiniband provides a range of ib commands at o/s level to query and configure IPoIB (IP over Infiniband).
    * RDS is a low latency protocol that can be used instead of IP protocol suite as the Interconnect protocol

  • Getting info about a particular property of an object....

    Hi ,
    How to get info/help about a particular property of an object...???? I mean that if all the properties of an object displayed in the property palette(for example an iterator) how to get info about and only about RefreshCondition property , without having to activate the whole on-line help and search it in there.....????? Pressing F1 , on it , displays general help about the Property Inspector....
    NOTE : I use JDev 10.1.3.
    Many thanks ,
    Simon

    If you'll look carefully at the property inspector window you'll notice two bars at the bottom - if you pull them up then the second one contains help text for each property you stand on.
    Note that this only works for properties that have the help in them.
    I think for the pagedef items it doesn't show much info, but try for example standing on JSF objects in your page.

  • HT4972 So if I have a 1st or second gen ipod touch, where can I get old versions of apps that run on it?

    So if I have a 1st or second gen ipod touch, where can I get old versions of apps that run on it?

    An iTunes library you previously downloaded those versions to, or a backup of that library.
    (78137)

  • Business transaction - get info about attached documents

    Hello,
    I'm looking for some FM to get infos about the documents in the business transaction. I need to know if a folder has been created, if a document has been attached in this folder...
    If you also know a FM to create some folders, it is also welcome.
    Thanks and Regards,
    Frédéric

    Dear Frederic,
    you can try something like the following code (it checks if a document with the name LOGO is assigned to a Businesspartner and works in a same way for business transactions:
    DATA:
        lt_documents      TYPE skwf_ios,
        lt_doc_phios      TYPE skwf_ios,
        lt_properties     TYPE sdokproptys.
    DATA:
        ls_sibflporb      TYPE sibflporb.
    FIELD-SYMBOLS:
        <lfs_document>   TYPE skwf_io,
        <lfs_phio>       TYPE skwf_io.
    * get all documents to the businesspartner
      ls_sibflporb-instid  = lv_partner_guid.
      ls_sibflporb-typeid  = 'BUS1006'.    "#EC NO-TEXT .
      ls_sibflporb-catid   = 'BO'.         "#EC NO-TEXT.
      CALL FUNCTION 'SKWG_OLS_BO_LINKS_GET'
        EXPORTING
          BUSINESS_OBJECT              = ls_sibflporb
    *     RELATION                     = 'WCM_LINK'
    *     CSPC                         = ' '
        TABLES
          IOS                          = lt_documents.
    *  try to find the right document (name = LOGO)
      LOOP AT lt_documents ASSIGNING <lfs_document>.
        REFRESH lt_properties.
    *    Eigenschaften lesen
        CALL FUNCTION 'SKWF_IO_PROPERTIES_GET'
          EXPORTING
            IO                       = <lfs_document>
          TABLES
    *       PROPERTIES_REQUEST       =
            PROPERTIES_RESULT        = lt_properties.
    *    Property "KW_RELATIVE_URL" have to be LOGO!!!    READ TABLE lt_properties WITH KEY name = 'KW_RELATIVE_URL'
                                          value = 'LOGO'
                   TRANSPORTING NO FIELDS.
        CHECK sy-subrc EQ 0.
    * do something......
       ENDLOOP.
    Regards,
    André

  • Get info about if you use WindowsGUI or HTMLGUI in ABAP

    Hello all,
    I'm now wondering if I can get info about if you're using GUI for Windows or GUI for HTML in ABAP report.
    If you know anything on this, please help me.
    thanks in advance,
    Hozy

    Call FM GUI_HAS_ACTIVEX to check if gui is a normal sap gui and supports ActiveX objects
    and FM GUI_IS_ITS               to check if is a web gui

  • How to get info about available Toshiba updates?

    I have noticed that this has taken over from the online product information button.
    I was wondering how do I know now when there is an update availabe for Toshiba specific software and hardware?

    To be honest if the system runs well und stabile you don't need any updates. On my one and half year old notebook I still use original preinstalled OS (recovery image) without any Toshiba specific updates. All I have installed are Microsoft updates.
    Anyway if you want to have info about available updates pick up info about TOSHIBA TEMPRO tool.

  • How to get info about Composition/Candidate window?

    Hi All,
    I'm working on an application which should be able to take multi-language input (especially chinese, japanese, and korean).
    When we type something in Chinese/Japanese, there will be Composition and Candidate Window popped up. I want to know whether there is a way to get/set some attributes/info about those windows.
    Specifically, I want to be able to position the Composition/Candidate Window anywhere I want...
    I've tried the active client tutorial for the on-the-spot and below-the-spot input, but I still haven't find a way to get a 'handle' to the windows...
    Can anyone help? Thanks in advanced :)

    I do not think the individual temp file percentages is of much use. What you usually want to know is how much of the temporary tablespace is in use and how much is available.
    For that I think you want to compare current total usage information that can be found in v$sort_segment against total available for usage data that can be found in dba_temp_files to get the percentage of available temporary file space that is in use.
    I quickly put together the following. See if either is on any use in constructing the information you really want.
    > @t20
    >
    > select
      2    used_blocks
      3   ,total_blocks
      4   ,f.blocks                             as FILEBLOCKS
      5   ,round(used_blocks/total_blocks * 100,1) SORTSEGPER
      6   ,round(used_blocks/f.blocks * 100,1)        TEMPFILEPER
      7  from
      8    v$sort_segment
      9   ,(select sum(t.blocks) blocks from dba_temp_files t) f
    10  /
    USED_BLOCKS TOTAL_BLOCKS FILEBLOCKS SORTSEGPER TEMPFILEPER
           8960       689664    1025024        1.3          .9
    >
    > select
      2    round(used_blocks/ (select sum(blocks) from dba_temp_files) * 100,1) ||'%'
      3    as TEMPFILEPER
      4  from v$sort_segment
      5  /
    TEMPFILEPER
    .9%HTH -- Mark D Powell --

  • Get Info about Enum TypeDef as Variant using Hidden Gems in vi library

    Hi, 
    I am using LabVIEW 2013 SP1.
    I need to input different strict type definition enums into a subvi, so I have decided the subvi input to be Variant and to use the Hidden Gems in vi library in order to get details about the typedef and the data selected (enum string selected).
    I found the Hidden Gems in vi library very useful, see the image attached.
    However, I would like to have the path of the strict type control but I get an error, and also, in order to get the enum string I can use the enum U16 'data' and select the corresponding index from the 'EnumNames' array, but... as you can see in the image it seems like the variant "knows" what enum string I have selected, but trying to convert it to anything other than U16 produce an error.
    Maybe there is someone that know how to solve these inconveniences ?
    Amitai.

    What additional info in the TypeDef do you need that you can not get from the Variant?
    What is it that you need to do inside the sub VI that you could not do with either the Enum string or it's integer Value
    I use some extensive Variant processing in my code and I have never needed to reference back to the TypeDef of an Enum
    If you are running 64 bit you could use a U64 to unflatten the Enum (But would you ever have 1E19 items in your Enum!)
    You can unflatten with any interger (U8, U16 U32 U64 I8 I16 I32 I64) and they will all work as long as it is large enough to hold the highest number you are likly to see. A I8 will only work up to 127 items. But who has more than 127 items in their Enum.
    Even type cast an Enum to a Float.
    Even with the TypeDef you will not be able type cast or unflatten a variant back to the original Enum
    So you have to work with your Enum as either it's Selected Sting or as an I32 (you could use I16 )

  • How can I delete the apps that run in the background in iOS 7

    HOw can I delete the apps running I the background in the new Ios7. Earlier all that I had to do was to press continuously and then could delete when the   Mark would appear. now I am unable to do it.
    AAlso, I am unable to save a photograph as a wall paper.

    Thanks so much. This solved my problem.
    Can you tell me how to save a photograph as a wall paper on the new IOS 7
    Thanks

  • ITunes and Finder - how are info about audio files refreshed?

    I am now in the process of embedding artwork in my mp3-files using CoverScout. I have also updated info about all my tracks in the iTunes after embedding the artowrk, by selecting all the files and clicking GeitInfo and clicking OK (without making any changes). All albums are displayed correctly with new artworks. This, however, is not the case with the Finder.
    Generally, if a mp3-file has (embedded) artwork then the file would be displayed as a thumbnail of the artwork in question. The thing is that the icons for the mp3-files that were recently embedded with artworks are displayed as lacking artwork (they are displayed with the simple iTunes icon). Moreover, the Preview of GetInfo window does not show that the mp3-files contain the embedded artwork. The files are not refreshed. However, if I copy or duplicate those files then the copied files are displayed correctly, with the right getinfo. This, however, does not work if moving files. The files are not refreshed when moved, only when copying or duplicating.
    I find it curious that Finder does not refresh the files, even after restarting the Mac, given the fact that iTunes have the information that there is artwork. Is there a way to refresh the files in the finder without copying or duplicating the files?
    Another curious thing with albums containing tracks with embedded artwork is as follows: the Finder displays some of the tracks as thumbnails of the artwork in question, but not with all the files. The same goes for the Preview of the files in GetInfo. Some have the correct Preview displaying the artwork, but some lack the info about the artwork in the Preview. Why are not all files displayed as having embedded artwork, but only some, given the fact that they belong to the same album and the artwork was embedded in the same way?
    The same goes when I embed the artwork without CoverScout, by updating multiple files through iTunes (dragging the artwork to the Artwork-field in Info). The Finder does not display that the files are embedded. I must copy or duplicate these files in order to refresh the info.
    A more general question: how do I refresh files in the Finder? There is no refresh button, as in the Windows.
    I would appreciate your help.
    Kind regards
    Alex

    I was wrong about one thing concerning refreshing the files. I said that restarting the Mac would not refresh the files. However, if the iTunes have info about album's/tracks artwork then the Finder will also have this info after rebooting the system. My question is whether the Finder can be refreshed, without rebooting (restarting)?

  • Why ? installing SolMan 7.0 MS SQL server cannot get info about acct sidadm

    While installing SolMan on Windows 2003 SQL 2005  64bit OS the install stops and will not continue
    with the following error
    NOTE: I am installing on 64bit OS as we already have on 32bit OS and need to migrate it over to 64bit
    MS SQL server cannot get informatin about account cityacct\sidadm 
    the log recommends to execute the following command in SQL
    master..xp_logininfo 'CITYACCT\sidadm'
    I get the error
    Could not obtain information about Windows NT group/user ''CITYACCT\sidadm' error code 0x5
    I am soooo stuck , I have been researching and researching even with SAP and no answer yet, has anyone had this issue and how can I get past it?
    Thank You in Advance
    Maria
    I

    Maria,
    Were you able to resolve this issue? I'm getting the same error.
    -wael

Maybe you are looking for

  • Error while executing procedure : ORA-06550 and PLS-00103

    Hi I have created the Stored Procedure as, CREATE OR REPLACE PACKAGE BODY APPS.TMP_IMPORT_ITEMS_PKG AS   PROCEDURE LOAD_INTERFACE_TABLE(organization_code IN VARCHAR2, errbuf OUT VARCHAR2, retcode OUT NUMBER) IS   org_code varchar2(3);   BEGIN     org

  • Nokia n9 automatic lock

    Hi, if there is any one who can help me solve the problem with my Nokia N9 I will very grateful. My phone got automatically lock and when I looked up on the discussions apparently if I put in my Nokia account password it will unlock but the problemit

  • 200-300fps camera recommendation

    Hi there, I'm looking to buy a camera for use with vision/machine inspection tools. I need 200-300fps. Currently I use a cheap Casio consumer camera and do the analysis offline but am looking at USB3.0 DirectShow compliant camera like this one:  http

  • Messed up address book

    I keep trying to clean up my address book by deleting duplicate entries, combining cards, and eliminating obsolete entries. Once I do this I make a backup of the corrected file. When I reload this file it brings back all the stuff I deleted and corre

  • Scrubbing Movie Clip Fills Memory, Crashes Flash

    Hello, We have a Flex 4/Actionscript 3 application that involves "scrubbing" through a Movie Clip that is a swf file derived from a .mov file.  This is accomplished by listenening to the change in value of an HSlider and calling gotoAndStop(n) on the