Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Wireless Profile Password- CryptUnProtectData

Wireless Profile Password- CryptUnProtectData

Scheduled Pinned Locked Moved C / C++ / MFC
question
10 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arun krishnan
    wrote on last edited by
    #1

    I am using CryptUnProtectData function to decrypt Wireless Access Password from a Wireless Connection Profile. Even though I am able to decrypt the password on a Windows Vista PC, I am not able to do this on a Windows XP Machine. I am calling CryptUnProtectData inside a windows service application. Is it possible to decrypt the wireless connection password using CryptUnProtectData on a Windows XP PC ?

    R 1 Reply Last reply
    0
    • A Arun krishnan

      I am using CryptUnProtectData function to decrypt Wireless Access Password from a Wireless Connection Profile. Even though I am able to decrypt the password on a Windows Vista PC, I am not able to do this on a Windows XP Machine. I am calling CryptUnProtectData inside a windows service application. Is it possible to decrypt the wireless connection password using CryptUnProtectData on a Windows XP PC ?

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      Arun krishnan wrote:

      Even though I am able to decrypt the password on a Windows Vista PC, I am not able to do this on a Windows XP Machine.

      What happens when you try it on your Windows XP machine?


      Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->ßRÅhmmÃ<-·´¯`·.

      A 1 Reply Last reply
      0
      • R Rajesh R Subramanian

        Arun krishnan wrote:

        Even though I am able to decrypt the password on a Windows Vista PC, I am not able to do this on a Windows XP Machine.

        What happens when you try it on your Windows XP machine?


        Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->ßRÅhmmÃ<-·´¯`·.

        A Offline
        A Offline
        Arun krishnan
        wrote on last edited by
        #3

        The Function Fails return "flase" and the password will not be decrypted.

        R 1 Reply Last reply
        0
        • A Arun krishnan

          The Function Fails return "flase" and the password will not be decrypted.

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #4

          It appears that you've to follow a set of rules to get this thing work. Did you read the "Remarks" section of CryptProtectData() in MSDN?


          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->ßRÅhmmÃ<-·´¯`·.

          A R 2 Replies Last reply
          0
          • R Rajesh R Subramanian

            It appears that you've to follow a set of rules to get this thing work. Did you read the "Remarks" section of CryptProtectData() in MSDN?


            Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->ßRÅhmmÃ<-·´¯`·.

            A Offline
            A Offline
            Arun krishnan
            wrote on last edited by
            #5

            I have seen this section. since the method i have adopted works for Vista, i hope its the same for XP too. Have you worked on the function before?

            R A 2 Replies Last reply
            0
            • A Arun krishnan

              I have seen this section. since the method i have adopted works for Vista, i hope its the same for XP too. Have you worked on the function before?

              R Offline
              R Offline
              Rajesh R Subramanian
              wrote on last edited by
              #6

              I have worked on it, but on Vista. I haven't tried it on any other OS.

              1 Reply Last reply
              0
              • A Arun krishnan

                I have seen this section. since the method i have adopted works for Vista, i hope its the same for XP too. Have you worked on the function before?

                A Offline
                A Offline
                Arun krishnan
                wrote on last edited by
                #7

                I have tried firing GetLastError() after the error, which returns, error 183: Cannot create a file when that file already exists. Have any idea on how this is happening

                1 Reply Last reply
                0
                • R Rajesh R Subramanian

                  It appears that you've to follow a set of rules to get this thing work. Did you read the "Remarks" section of CryptProtectData() in MSDN?


                  Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->ßRÅhmmÃ<-·´¯`·.

                  R Offline
                  R Offline
                  rimyong
                  wrote on last edited by
                  #8

                  ok i am user newrhm9019@gmail.com :)

                  R 1 Reply Last reply
                  0
                  • R rimyong

                    ok i am user newrhm9019@gmail.com :)

                    R Offline
                    R Offline
                    rimyong
                    wrote on last edited by
                    #9
                    R 1 Reply Last reply
                    0
                    • R rimyong
                      R Offline
                      R Offline
                      rimyong
                      wrote on last edited by
                      #10

                      newrhm9019@gmail.com

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups