Click here to Skip to main content
15,125,657 members
Home / Discussions / C#
   

C#

 
GeneralRe: Certificate in TCPListnear Pin
Afzaal Ahmad Zeeshan21-May-16 2:22
mveAfzaal Ahmad Zeeshan21-May-16 2:22 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241122-May-16 22:11
MemberJaimesh.241122-May-16 22:11 
AnswerRe: Certificate in TCPListnear Pin
Afzaal Ahmad Zeeshan22-May-16 22:18
mveAfzaal Ahmad Zeeshan22-May-16 22:18 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241122-May-16 22:21
MemberJaimesh.241122-May-16 22:21 
GeneralRe: Certificate in TCPListnear Pin
Afzaal Ahmad Zeeshan22-May-16 22:35
mveAfzaal Ahmad Zeeshan22-May-16 22:35 
QuestionHow to read XML with directory structure Pin
Member 244330620-May-16 12:28
MemberMember 244330620-May-16 12:28 
AnswerRe: How to read XML with directory structure Pin
Karthik_Mahalingam21-May-16 23:46
professionalKarthik_Mahalingam21-May-16 23:46 
GeneralRe: How to read XML with directory structure Pin
Member 244330622-May-16 10:12
MemberMember 244330622-May-16 10:12 
But that brings up next problem: You get the full path + filename.

First of all I am realy serious in finding out if there is a way to reverse the
C#
new XElement("Name", fi.Name),
version.

Secondly I want it relative to the starting path.

Maybe that was not clear. Lets say you have resulting XML (part ofthe example):

XML
<Dir Name="Tmp">
  <Dir Name="ConsoleApplication1">
    <Dir Name="bin">
      <Dir Name="Debug">
        <File>
          <Name>ConsoleApplication1.exe</Name>
          <Length>4608</Length>
        </File>
      </Dir>
    </Dir>
  </Dir>
</Dir>


I want to read the results:
File.Name: temp\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
File.Length: 4608

Without the c:\.

Advantage: if you move all from c:\Temp to c:\Projects\Temp you can still find all files as in the XML if you revers the search.

Greetings

modified 22-May-16 16:55pm.

GeneralRe: How to read XML with directory structure Pin
Member 244330622-May-16 13:53
MemberMember 244330622-May-16 13:53 
SuggestionRe: How to read XML with directory structure Pin
Richard Deeming23-May-16 2:44
mveRichard Deeming23-May-16 2:44 
GeneralRe: How to read XML with directory structure Pin
Member 244330623-May-16 14:46
MemberMember 244330623-May-16 14:46 
QuestionIs there a source code download for this article? Pin
Member 1253641620-May-16 11:59
MemberMember 1253641620-May-16 11:59 
AnswerRe: Is there a source code download for this article? Pin
Pete O'Hanlon20-May-16 12:21
mvePete O'Hanlon20-May-16 12:21 
GeneralRe: Is there a source code download for this article? Pin
Richard Deeming20-May-16 12:28
mveRichard Deeming20-May-16 12:28 
GeneralRe: Is there a source code download for this article? Pin
Member 1253641620-May-16 12:32
MemberMember 1253641620-May-16 12:32 
AnswerRe: Is there a source code download for this article? Pin
Richard Deeming20-May-16 12:33
mveRichard Deeming20-May-16 12:33 
JokeRe: Is there a source code download for this article? Pin
Member 1253641620-May-16 21:01
MemberMember 1253641620-May-16 21:01 
Questiondelete directory / folder recursive, by pass locked files Pin
jkirkerx20-May-16 11:53
professionaljkirkerx20-May-16 11:53 
AnswerRe: delete directory / folder recursive, by pass locked files Pin
Member 244330620-May-16 12:50
MemberMember 244330620-May-16 12:50 
GeneralRe: delete directory / folder recursive, by pass locked files Pin
jkirkerx20-May-16 13:30
professionaljkirkerx20-May-16 13:30 
AnswerProblem 2, access the HKLM as Admin doesn't work Pin
jkirkerx20-May-16 13:36
professionaljkirkerx20-May-16 13:36 
GeneralRe: Problem 2, access the HKLM as Admin doesn't work Pin
Member 244330620-May-16 13:53
MemberMember 244330620-May-16 13:53 
GeneralRe: Problem 2, access the HKLM as Admin doesn't work Pin
jkirkerx21-May-16 13:00
professionaljkirkerx21-May-16 13:00 
GeneralRe: Problem 2, access the HKLM as Admin doesn't work Pin
jkirkerx22-May-16 8:28
professionaljkirkerx22-May-16 8:28 
AnswerRe: delete directory / folder recursive, by pass locked files [done] Pin
jkirkerx22-May-16 8:31
professionaljkirkerx22-May-16 8:31 

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.